mirror of
https://github.com/php/web-php.git
synced 2026-04-28 01:13:10 +02:00
silly PHP not passing values through || :)
This commit is contained in:
+4
-1
@@ -10,7 +10,10 @@ if (isset($maillist)) {
|
||||
echo "You forgot to specify an email address to be added to the list. ";
|
||||
echo "Go back and try again.";
|
||||
} else {
|
||||
$request = strtolower($action) || "subscribe";
|
||||
$request = strtolower($action);
|
||||
if ($request != "subscribe" && $request != "unsubscribe") {
|
||||
$request = "subscribe";
|
||||
}
|
||||
$sub = str_replace("@", "=", $email);
|
||||
switch ($maillist) {
|
||||
case "phplib":
|
||||
|
||||
Reference in New Issue
Block a user