V1.3.0 released: Compatible with php 7.x.x

This commit is contained in:
Rohit
2018-10-18 20:21:53 +05:30
parent a739332b50
commit 0edc075ac2
1913 changed files with 26357 additions and 139987 deletions

View File

@@ -93,9 +93,11 @@ class DbQueryCore
public function from($table, $alias = null)
{
if (!empty($table)) {
if (empty($this->query['from'])) {
$this->query['from'] = array();
}
$this->query['from'][] = '`'._DB_PREFIX_.$table.'`'.($alias ? ' '.$alias : '');
}
return $this;
}