mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -878,8 +878,10 @@ SELECT element_id
|
||||
|
||||
foreach ($caddiables as $caddiable)
|
||||
{
|
||||
array_push($datas, array('element_id' => $caddiable,
|
||||
'user_id' => $user['id']));
|
||||
$datas[] = array(
|
||||
'element_id' => $caddiable,
|
||||
'user_id' => $user['id'],
|
||||
);
|
||||
}
|
||||
|
||||
if (count($caddiables) > 0)
|
||||
|
||||
Reference in New Issue
Block a user