CC-4434: Make Application_Model_Preference::getValue and setValue private methods

-small fix
This commit is contained in:
Martin Konecny 2012-09-14 14:36:31 -04:00
parent e3c1a3ac0e
commit 239a228175
2 changed files with 2 additions and 2 deletions

View File

@ -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', '' );");

View File

@ -21,4 +21,4 @@
</div>
<?php echo $this->dialog ?>
<?php echo $this->dialog ?>