egw_db::expression searches for a table_def in all (loaded) apps, not just the current)

This commit is contained in:
Ralf Becker 2008-03-13 19:30:01 +00:00
parent 12cdb8820d
commit c01818daa1

View File

@ -1674,7 +1674,7 @@ class egw_db
*/ */
function expression($table_def,$args) function expression($table_def,$args)
{ {
if (!is_array($table_def)) $table_def = $this->get_table_definitions('',$table_def); if (!is_array($table_def)) $table_def = $this->get_table_definitions(true,$table_def);
$sql = ''; $sql = '';
$ignore_next = 0; $ignore_next = 0;
foreach(func_get_args() as $n => $arg) foreach(func_get_args() as $n => $arg)