minor fix

This commit is contained in:
tomash 2006-10-16 14:09:22 +00:00
parent 9b0bc58a07
commit 53a7f9a726
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class DataEngine{
$sql =
"SELECT to_hex(sq2.gunid)as gunid, m.object, sq2.ftype, sq2.id\n".
"FROM (\n$sql\n)sq2\n".
"LEFT JOIN ls_mdata m\n".
"LEFT JOIN {$this->mdataTable} m\n".
" ON m.gunid = sq2.gunid AND m.predicate='$orderby'".
" AND m.objns='_L' AND m.predxml='T'".
(!is_null($obNs)? " AND m.predns='$obNs'":'')."\n".