diff --git a/www-api/app/Controllers/WrenchAccount.php b/www-api/app/Controllers/WrenchAccount.php index b479fc2e..2b1bd45b 100644 --- a/www-api/app/Controllers/WrenchAccount.php +++ b/www-api/app/Controllers/WrenchAccount.php @@ -55,7 +55,7 @@ class WrenchAccount extends BaseController $in["action_path"] = 100; $in["loc"] = $_SERVER["REMOTE_ADDR"]; if (isset($in["path"]) && $in["path"] == 'promoref'){ - $in["refer_link"] = str_replace('', "REFPROMO-", $in["refer_link"]); + $in["refer_link"] = str_replace('REFPROMO-', "", $in["refer_link"]); $in["action_path"] = 200; } $ret = $this->wrenchboard->wrenchboard_api($in, $out);