Bugfix: Gesamtsumme der Stimmen auf /beliebt wieder korrekt. Auf Film-Seite, inaktive Nutzer gekennzeichnet.
This commit is contained in:
1 parent
372eadd0d9
commit
d0b73e92ec
4 files changed
+7
-7
No files matched your search
+2
-2
@@ -70,9 +70,9 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
public function setSetting($key, $value) {
|
||||
$settings = json_decode($this->settings);
|
||||
if(is_null($settings)) {
|
||||
$settings = array();
|
||||
$settings = new stdClass();
|
||||
}
|
||||
$settings[$key] = $value;
|
||||
$settings->$key = $value;
|
||||
$this->settings = json_encode($settings);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user