Removed ereg and ereg_replace calls. Using simple string manipulation.
[squirrelmail.git] / functions / auth.php
index fec8c1b342aa86c06d2c5062a3fae81ebced2191..f302a496e021bdb2ddb3f6d2d23f25a1489a0c23 100644 (file)
@@ -11,7 +11,7 @@
    $auth_php = true;
 
    function is_logged_in () {
-      if (!session_is_registered("user_is_logged_in")) {
+      if (!session_is_registered('user_is_logged_in')) {
          echo _("You must login first.");
          echo "</body></html>\n\n";
          exit;