Skip to content

Commit

Permalink
remove unnecessary string - mistake from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kyob committed Dec 14, 2015
1 parent c518a24 commit 2ea6eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userpanel/lib/setup_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function module_submit_setup()
else
$DB->Execute("INSERT INTO uiconfig (section, var, value) VALUES('userpanel', 'page_header', ?)", array($_POST['page_header']));

if ($DB->GetOne("SELECT 1 FROM uiconfig WHERE section = 'userpanel' AND var = 'page_headerreminder_sms_body'"))
if ($DB->GetOne("SELECT 1 FROM uiconfig WHERE section = 'userpanel' AND var = 'reminder_sms_body'"))
$DB->Execute("UPDATE uiconfig SET value = ? WHERE section = 'userpanel' AND var = 'reminder_sms_body'", array($_POST['reminder_sms_body']));
else
$DB->Execute("INSERT INTO uiconfig (section, var, value) VALUES('userpanel', 'reminder_sms_body', ?)", array($_POST['reminder_sms_body']));
Expand Down

0 comments on commit 2ea6eee

Please sign in to comment.