2011-08-12 Sergio Martin <sergio.martin@artica.es>

* include/functions_tags.php: Fixed false value in foreach



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-08-12 12:11:18 +00:00
parent 03b5ca8ba9
commit e64eb0c5da
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-08-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_tags.php: Fixed false value in foreach
2011-08-12 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/estado_agente.php: Fixed: Agent Search engine fails with blank at the beginning or end.

View File

@ -264,6 +264,11 @@ function tags_insert_module_tag ($id_agent_module, $tags){
$errn = 0;
$values = array();
if($tags == false) {
$tags = array();
}
foreach ($tags as $tag){
//Protect against default insert
if (empty($tag))