"MDL-15488, modify declaration of function to use pass-by-reference"

This commit is contained in:
dongsheng
2008-09-24 06:22:21 +00:00
parent e6b451606e
commit 35bae111b8
@@ -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();