diff options
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 6f2df2880..5dc8ea255 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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) |