Fixed bug where reply-sync bit wasn't getting saved
This commit is contained in:
parent
824e347e55
commit
aeb933355d
|
@ -52,12 +52,12 @@ class FacebooksettingsAction extends FacebookAction
|
||||||
|
|
||||||
function saveSettings() {
|
function saveSettings() {
|
||||||
|
|
||||||
$noticesync = $this->arg('noticesync');
|
$noticesync = $this->boolean('noticesync');
|
||||||
$replysync = $this->arg('replysync');
|
$replysync = $this->boolean('replysync');
|
||||||
$prefix = $this->trimmed('prefix');
|
$prefix = $this->trimmed('prefix');
|
||||||
|
|
||||||
$original = clone($this->flink);
|
$original = clone($this->flink);
|
||||||
$this->flink->set_flags($noticesync, $replysync, false, false);
|
$this->flink->set_flags($noticesync, false, $replysync, false);
|
||||||
$result = $this->flink->update($original);
|
$result = $this->flink->update($original);
|
||||||
|
|
||||||
if ($prefix == '' || $prefix == '0') {
|
if ($prefix == '' || $prefix == '0') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user