]> wagnertech.de Git - timetracker.git/blobdiff - notification_delete.php
Replacing else if with elseif
[timetracker.git] / notification_delete.php
index a8a2e4989e9e272c4f94a934fb56e08a7b636c3c..50c33952c0938a6fbf6317bfe2034b5fc2a6bf0c 100644 (file)
@@ -55,7 +55,7 @@ if ($request->isPost()) {
         $err->add($i18n->getKey('error.db'));
     } else
       $err->add($i18n->getKey('error.db'));
-  } else if ($request->getParameter('btn_cancel')) {
+  } elseif ($request->getParameter('btn_cancel')) {
     header('Location: notifications.php');
     exit();
   }