Author: giv
Date: 2006-01-20 13:14:40 +0300 (Fri, 20 Jan 2006)
New Revision: 1187
Modified:
trunk/core/OSQL/FromTable.class.php
Log:
* table is subquery fix
Modified: trunk/core/OSQL/FromTable.class.php
===================================================================
--- trunk/core/OSQL/FromTable.class.php 2006-01-19 22:47:38 UTC (rev 1186)
+++ trunk/core/OSQL/FromTable.class.php 2006-01-20 10:14:40 UTC (rev 1187)
@@ -35,7 +35,7 @@
'SelectQuery or LogicalObject as table'
);
- if (strpos($table, '.'))
+ if (is_string($table) && strpos($table, '.'))
list($this->schema, $this->table) = explode('.', $table, 2);
else
$this->table = $table;
Received on Fri Jan 20 2006 - 13:14:41 MSK
This archive was generated by hypermail 2.2.0 : Sat Oct 27 2007 - 19:44:00 MSD