diff --git a/lib/sqlparser/vendor/phpmyadmin/sql-parser/src/Components/Condition.php b/lib/sqlparser/vendor/phpmyadmin/sql-parser/src/Components/Condition.php index 700b071ef2..cbb029ac22 100644 --- a/lib/sqlparser/vendor/phpmyadmin/sql-parser/src/Components/Condition.php +++ b/lib/sqlparser/vendor/phpmyadmin/sql-parser/src/Components/Condition.php @@ -87,7 +87,7 @@ class Condition extends Component */ public function __construct($expr = null) { - $this->expr = trim($expr); + $this->expr = !empty($expr) ? trim($expr) : $expr; } /** diff --git a/module/dataview/table/effort.php b/module/dataview/table/effort.php index ae789aa3e0..d6c2c80982 100644 --- a/module/dataview/table/effort.php +++ b/module/dataview/table/effort.php @@ -1,5 +1,5 @@ app->loadLang('account'); +$this->app->loadLang('user'); $schema = new stdclass(); @@ -9,6 +9,6 @@ $schema->tables = array(); $schema->tables['effort'] = 'zt_effort'; $schema->fields = array(); -$schema->fields['id'] = array('type' => 'number', 'name' => $this->lang->account->id); -$schema->fields['account'] = array('type' => 'user', 'name' => $this->lang->account->name); +$schema->fields['id'] = array('type' => 'number', 'name' => $this->lang->user->id); +$schema->fields['account'] = array('type' => 'user', 'name' => $this->lang->user->account); diff --git a/module/dataview/view/querybase.html.php b/module/dataview/view/querybase.html.php index fb94cc79f0..b1881452b1 100644 --- a/module/dataview/view/querybase.html.php +++ b/module/dataview/view/querybase.html.php @@ -90,7 +90,7 @@