Skip to content

Commit aea3377

Browse files
committed
- Fixed FS#2419 - APS Installer > Update Packagelist takes forever (Debian Wheezy, PHP 5.4.4).
1 parent 65ea2ec commit aea3377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/aps_crawler.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function fetchFiles($input)
200200
* A method to build query URLs out of a list of vendors
201201
*
202202
*/
203-
private function formatVendorCallback(&$array_item, $key)
203+
private function formatVendorCallback($array_item, $key)
204204
{
205205
$array_item = str_replace(' ', '%20', $array_item);
206206
$array_item = str_replace('http://', '', $array_item);
@@ -274,7 +274,7 @@ public function startCrawler()
274274
// Find out a (possibly) existing package version
275275
$ex_ver = '';
276276
array_walk($existing_apps,
277-
create_function('$v, $k, $ex_ver', 'if($v["Name"] == "'.$app_name.'") $ex_ver = $v["CurrentVersion"];'), &$ex_ver);
277+
create_function('$v, $k, $ex_ver', 'if($v["Name"] == "'.$app_name.'") $ex_ver = $v["CurrentVersion"];'), $ex_ver);
278278

279279
$new_ver = $app_version.'-'.$app_release;
280280
$local_intf_folder = $this->interface_pkg_dir.'/'.$app_name.'-'.$new_ver.'.app.zip/';

0 commit comments

Comments
 (0)