aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-07-21 21:18:51 +0000
committerplegall <plg@piwigo.org>2009-07-21 21:18:51 +0000
commit881aa5ab221c3670e34f60ed8a642762638804e9 (patch)
tree820ebfdb682e6bc44e47d73dadcee4ea1c34a795 /include
parent90ca8f2d0acc10872166907d8c21f01a8db18d78 (diff)
bug 1070: fix a pLoader bug on Piwigo side. Catch the bad communication:
don't try to find tags if tag_ids parameter is empty (but not null). git-svn-id: http://piwigo.org/svn/branches/2.0@3659 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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 8f7fdb9e2..35f0bb8c7 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1214,7 +1214,7 @@ SELECT
}
// and now, let's create tag associations
- if (isset($params['tag_ids']))
+ if (isset($params['tag_ids']) and !empty($params['tag_ids']))
{
set_tags(
explode(',', $params['tag_ids']),