If follow me is disabled allow it to save the destination(s). This will finish making it work.

This commit is contained in:
Mark Crane 2015-05-20 02:46:06 +00:00
parent 55d44936c7
commit c403f7b35b
1 changed files with 12 additions and 14 deletions

View File

@ -311,7 +311,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$follow_me->destination_prompt_5 = $destination_prompt_5; $follow_me->destination_prompt_5 = $destination_prompt_5;
$follow_me->destination_timeout_5 = $destination_timeout_5; $follow_me->destination_timeout_5 = $destination_timeout_5;
if ($follow_me_enabled == "true") {
if ($follow_me_action == "add") { if ($follow_me_action == "add") {
$follow_me_uuid = uuid(); $follow_me_uuid = uuid();
@ -326,7 +325,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$follow_me->add(); $follow_me->add();
$follow_me->set(); $follow_me->set();
} }
}
if ($follow_me_action == "update") { if ($follow_me_action == "update") {
$follow_me->follow_me_uuid = $follow_me_uuid; $follow_me->follow_me_uuid = $follow_me_uuid;
$follow_me->update(); $follow_me->update();