aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 2e96370e1..ce91e7489 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1574,7 +1574,7 @@ function ws_add_image_category_relations($image_id, $categories_string)
$tokens = explode(';', $categories_string);
foreach ($tokens as $token)
{
- list($cat_id, $rank) = explode(',', $token);
+ @list($cat_id, $rank) = explode(',', $token);
array_push($cat_ids, $cat_id);