CC-4434: Make Application_Model_Preference::getValue and setValue private methods
-small fix
This commit is contained in:
parent
e3c1a3ac0e
commit
239a228175
|
@ -37,7 +37,7 @@ class ShowbuilderController extends Zend_Controller_Action
|
|||
|
||||
$data = Application_Model_Preference::getTimelineDatatableSetting();
|
||||
if (!is_null($data)) {
|
||||
$timelineTable = json_encode(unserialize($data));
|
||||
$timelineTable = json_encode($data);
|
||||
$this->view->headScript()->appendScript("localStorage.setItem( 'datatables-timeline', JSON.stringify($timelineTable) );");
|
||||
} else {
|
||||
$this->view->headScript()->appendScript("localStorage.setItem( 'datatables-timeline', '' );");
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
</div>
|
||||
|
||||
|
||||
<?php echo $this->dialog ?>
|
||||
<?php echo $this->dialog ?>
|
||||
|
|
Loading…
Reference in New Issue