change db_filter function to use less memory
This commit is contained in:
parent
3da9cd9c19
commit
bf3b072124
@ -75,7 +75,7 @@ function db_filter($array, $index)
|
|||||||
{
|
{
|
||||||
$new_array = array();
|
$new_array = array();
|
||||||
|
|
||||||
foreach($array as $a)
|
foreach($array as &$a)
|
||||||
{
|
{
|
||||||
$new_array[] = $a[$index];
|
$new_array[] = $a[$index];
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user