* [story#60087,0.5h] revert built-in chart and pivot driver to mysql.
This commit is contained in:
+893
-991
File diff suppressed because it is too large
Load Diff
+348
-606
File diff suppressed because it is too large
Load Diff
@@ -636,6 +636,7 @@ class biModel extends model
|
||||
if(isset($pivot->fields)) $pivot->fields = $this->jsonEncode($pivot->fields);
|
||||
if(isset($pivot->langs)) $pivot->langs = $this->jsonEncode($pivot->langs);
|
||||
if(isset($pivot->vars)) $pivot->vars = $this->jsonEncode($pivot->vars);
|
||||
if(!isset($pivot->driver)) $pivot->driver = 'mysql';
|
||||
|
||||
$exists = $this->dao->select('id')->from(TABLE_PIVOT)->where('id')->eq($pivot->id)->fetch();
|
||||
if(!$exists) $currentOperate = 'insert';
|
||||
|
||||
Reference in New Issue
Block a user