Completed
Push — master ( bdfdd6...dbc6ab )
by Mehmet
03:03
created
src/ModelUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@
 block discarded – undo
305 305
         $max_length = isset($my_model['_max_length']) ? $my_model['_max_length'] : null;
306 306
         $in_options = isset($my_model['_in_options']) ? $my_model['_in_options'] : null;
307 307
         $value = filter_var($value, FILTER_SANITIZE_FULL_SPECIAL_CHARS);
308
-        if(($input_type == 'timestamp') && ($value == 'now')){
308
+        if (($input_type == 'timestamp') && ($value == 'now')) {
309 309
                 $value = time();
310 310
         }
311 311
         settype($value, $type);
Please login to merge, or discard this patch.