diff options
author | Egor <egor.26.93@gmail.com> | 2015-06-18 17:45:00 +0300 |
---|---|---|
committer | Egor <egor.26.93@gmail.com> | 2015-06-18 17:45:00 +0300 |
commit | 4c65fb8cff4847804ced68b52d0c8d2a23de94c0 (patch) | |
tree | 8123bff9cfadadbf76ea482d072590ddf1b58a9c /codebase/base_connector.php | |
parent | 86847eea2e8d01e93158185f285f9d709c6df113 (diff) | |
download | connector-php-4c65fb8cff4847804ced68b52d0c8d2a23de94c0.zip connector-php-4c65fb8cff4847804ced68b52d0c8d2a23de94c0.tar.gz connector-php-4c65fb8cff4847804ced68b52d0c8d2a23de94c0.tar.bz2 |
Fixed bug with configurating model.
Diffstat (limited to 'codebase/base_connector.php')
-rwxr-xr-x[-rw-r--r--] | codebase/base_connector.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/base_connector.php b/codebase/base_connector.php index 26f1f8b..05a885e 100644..100755 --- a/codebase/base_connector.php +++ b/codebase/base_connector.php @@ -419,7 +419,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); |