summaryrefslogtreecommitdiffstats
path: root/codebase/Dhtmlx/Connector/Connector.php
diff options
context:
space:
mode:
authorEgor <egor.26.93@gmail.com>2015-06-15 19:24:28 +0300
committerEgor <egor.26.93@gmail.com>2015-06-15 19:24:28 +0300
commit7dcafb4dd5bb34b7606c073116e741c210e49525 (patch)
tree471998e8fc23ab5e1ef79159fa6437e8cd5f5e7d /codebase/Dhtmlx/Connector/Connector.php
parent936540f6fce597f26cfb5b5b97db47fbf47e887f (diff)
downloadconnector-php-7dcafb4dd5bb34b7606c073116e741c210e49525.zip
connector-php-7dcafb4dd5bb34b7606c073116e741c210e49525.tar.gz
connector-php-7dcafb4dd5bb34b7606c073116e741c210e49525.tar.bz2
Updated connectors for cake, yii frameworks.
Diffstat (limited to 'codebase/Dhtmlx/Connector/Connector.php')
-rwxr-xr-x[-rw-r--r--]codebase/Dhtmlx/Connector/Connector.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/Dhtmlx/Connector/Connector.php b/codebase/Dhtmlx/Connector/Connector.php
index b537925..ec8ae9a 100644..100755
--- a/codebase/Dhtmlx/Connector/Connector.php
+++ b/codebase/Dhtmlx/Connector/Connector.php
@@ -158,7 +158,7 @@ class Connector {
$id = $info["key"];
}
$this->config->init($id,$fields,$extra,$relation_id);
- if (strpos(trim($table), " ")!==false)
+ if(is_string($table) && strpos(trim($table), " ")!==false)
$this->request->parse_sql($table);
else
$this->request->set_source($table);