From d02cc8f1d825de35a9bb90c1ac25c5786a83ac3c Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 18 Feb 2013 18:55:16 +0000 Subject: bug:2845 added 'tags' as potential array for pwg.images.addSimple git-svn-id: http://piwigo.org/svn/trunk@20814 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 7f0952ec3..199175bb7 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1977,11 +1977,22 @@ SELECT * if (isset($params['tags']) and !empty($params['tags'])) { $tag_ids = array(); - $tag_names = preg_split('~(?