Navigation Menu

Skip to content

Commit

Permalink
merge r2918 from branch 2.0 to trunk
Browse files Browse the repository at this point in the history
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/trunk@2920 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Dec 3, 2008
1 parent 4fc7acc commit 991ddc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ws_functions.inc.php
Expand Up @@ -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);

Expand Down

0 comments on commit 991ddc9

Please sign in to comment.