Code cleanup
authorJamie Cameron <jcameron@webmin.com>
Mon, 16 Feb 2009 19:57:32 +0000 (19:57 +0000)
committerJamie Cameron <jcameron@webmin.com>
Mon, 16 Feb 2009 19:57:32 +0000 (19:57 +0000)
spam/index.cgi

index 2c28fe6..8a534b8 100755 (executable)
@@ -116,9 +116,9 @@ else {
                        }
 
                # Check if razor is set up
-               if ($module_info{'usermin'}) {
-                       $razor = 1
-                               if (-r "$remote_user_info[7]/.razor/identity");
+               if ($module_info{'usermin'} &&
+                   -r "$remote_user_info[7]/.razor/identity") {
+                       $razor = 1;
                        }
 
                # Show icons