"dump4setup: searching by app.% instead of app% now"

This commit is contained in:
Ralf Becker 2009-10-03 06:17:05 +00:00
parent 604a407fca
commit adf5ca040e

View File

@ -908,7 +908,7 @@ class soetemplate
$n = 0;
$exported = array();
foreach($this->db->select(self::TABLE,'*','et_name LIKE '.$this->db->quote($app.'%'),__LINE__, __FILE__,false,'ORDER BY et_name,et_version DESC','etemplate',0,'',false,egw_db::FETCH_ASSOC) as $row)
foreach($this->db->select(self::TABLE,'*','et_name LIKE '.$this->db->quote($app.'.%'),__LINE__, __FILE__,false,'ORDER BY et_name,et_version DESC','etemplate',0,'',false,egw_db::FETCH_ASSOC) as $row)
{
if (isset($exported[$row['et_name']]) && $exported[$row['et_name']] === (string)$row['et_template'])
{