Switched to using shorter ActionErrors functions
[timetracker.git] / profile_edit.php
index 3ef146e..9732fb6 100644 (file)
@@ -204,7 +204,7 @@ if ($request->getMethod() == 'POST') {
   }
   // Finished validating user input.
 
-  if ($errors->isEmpty()) {
+  if ($errors->no()) {
     if ($cl_lock_interval == null || trim($cl_lock_interval) == '')
       $cl_lock_interval = 0;