Browse code

Merge branch 'master' of zucker.schokokeks.org:webinterface

schokokeks.org web services authored on01/12/2017 14:00:17
Showing1 changed files
... ...
@@ -51,7 +51,10 @@ function we_have_an_error()
51 51
 {
52 52
   global $input_error;
53 53
 
54
-  return (count($input_error) > 0);
54
+  if (isset($input_error))
55
+    return (count($input_error) > 0);
56
+  else
57
+    return 0;
55 58
 }
56 59
 
57 60