diff --git a/Changelog b/Changelog index 9bfb43386..85df4b437 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2017-07-31 DariusIII + * Fix: Fix used type of value in Models/Tmux from string to bool * Chg: Update www/index.php * Chg: Update www/smarty.php (also fixes apache errors) 2017-07-30 DariusIII diff --git a/app/Models/Tmux.php b/app/Models/Tmux.php index a952321ba..95279486a 100644 --- a/app/Models/Tmux.php +++ b/app/Models/Tmux.php @@ -17,9 +17,9 @@ class Tmux extends Model protected $dateFormat = false; /** - * @var string + * @var bool */ - public $timestamps = 'false'; + public $timestamps = false; /** * @var array @@ -36,7 +36,7 @@ class Tmux extends Model */ public static function value($setting, $returnAlways = false) { - $result = Tmux::query()->where('setting', $setting)->value('value'); + $result = self::query()->where('setting', $setting)->value('value'); if ($result !== null) { $value = $result;