Sergio Cambra
2014-08-21 96cdd0a521768274b60424a0f4776ca557de26bb
interface/lib/classes/db_mysql.inc.php
@@ -126,7 +126,8 @@
            if($iPos2 !== false && ($iPos === false || $iPos2 <= $iPos)) {
               $sTxt = $this->escape($sValue);
               $sTxt = str_replace('`', '', $sTxt);
               if(strpos($sTxt, '.') !== false) $sTxt = preg_replace('/^(.+)\.(.+)$/', '`$1`.`$2`', $sTxt);
               else $sTxt = '`' . $sTxt . '`';