"MDL-15488, modify declaration of function to use pass-by-reference"
authordongsheng <dongsheng>
Wed, 24 Sep 2008 06:22:21 +0000 (06:22 +0000)
committerdongsheng <dongsheng>
Wed, 24 Sep 2008 06:22:21 +0000 (06:22 +0000)
repository/flickr_public/repository.class.php

index 59c2ed3d15568e2f1ea328a989d8bcf06aab2066..6d22f2ee45a31e1dc01754471c54c64f07136219 100644 (file)
@@ -189,7 +189,7 @@ class repository_flickr_public extends repository {
      * @param <type> $path
      * @return <type>
      */
-    private function build_list($photos, $path = 1, $ret) {
+    private function build_list($photos, $path = 1, &$ret) {
         $photos_url = $this->flickr->urls_getUserPhotos($this->nsid);
         $ret['manage'] = $photos_url;
         $ret['list']  = array();