diff options
author | plegall <plg@piwigo.org> | 2008-12-02 23:40:51 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-12-02 23:40:51 +0000 |
commit | 031276b4c29f84dc7afb2fa770d93d176913d50d (patch) | |
tree | 8a15228c0a843414296855e766ca360ba4a36a92 /include/ws_functions.inc.php | |
parent | fa47fc120b55a4dfef98e031f3406eeb2ecd3c47 (diff) |
bug 905 fixed: avoid PHP notice when rank is implicit in the categories
parameter of the pwg.images.add web API method.
git-svn-id: http://piwigo.org/svn/branches/2.0@2918 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
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); |