From b253200c95444448b2a62239dccca6d285f967fa Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 21 Jul 2009 21:19:53 +0000 Subject: merge r3659 from branch 2.0 to trunk 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/trunk@3660 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 9f5eb8ad0..dece797d6 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']), -- cgit v1.2.3