1
0
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:
jim winstead
2000-05-09 21:29:49 +00:00
parent cca33cb017
commit bebe345156
+4 -1
View File
@@ -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":