changeset 672:123aceb0ac4f

Add undefined error case.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Nov 2014 17:13:49 +0200
parents 11b6e5c7ba86
children ec74e026c164
files pages/vote.inc.php
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pages/vote.inc.php	Thu Nov 06 21:27:18 2014 +0200
+++ b/pages/vote.inc.php	Fri Nov 07 17:13:49 2014 +0200
@@ -51,6 +51,11 @@
           "The votekey is not yet activated, try again later. If ".
           "you are certain that it should be working now, go pester an organizer.";
         break;
+      
+      default:
+        echo
+          "Undefined error occured.";
+        break;
     }
 
     echo