mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-26 23:21:36 +01:00
More settings bugfixes
This commit is contained in:
@@ -35,11 +35,11 @@ class SettingsHelper {
|
||||
* @param String $value Value of setting
|
||||
* @return \App\Setting
|
||||
*/
|
||||
public static function set(String $name, String $value)
|
||||
public static function set(String $name, $value)
|
||||
{
|
||||
$setting = SettingsHelper::get($name);
|
||||
|
||||
if($value == false) {
|
||||
if($value === false) {
|
||||
$value = "0";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user