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:
parent
03b5ca8ba9
commit
e64eb0c5da
|
@ -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>
|
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.
|
* operation/agentes/estado_agente.php: Fixed: Agent Search engine fails with blank at the beginning or end.
|
||||||
|
|
|
@ -264,6 +264,11 @@ function tags_insert_module_tag ($id_agent_module, $tags){
|
||||||
$errn = 0;
|
$errn = 0;
|
||||||
|
|
||||||
$values = array();
|
$values = array();
|
||||||
|
|
||||||
|
if($tags == false) {
|
||||||
|
$tags = array();
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($tags as $tag){
|
foreach ($tags as $tag){
|
||||||
//Protect against default insert
|
//Protect against default insert
|
||||||
if (empty($tag))
|
if (empty($tag))
|
||||||
|
|
Loading…
Reference in New Issue