Completed
Push — master ( 7c77d0...99d8b2 )
by Askupa
01:50
created
functions.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,9 @@  discard block
 block discarded – undo
16 16
 /**
17 17
  * Prevent loading the library more than once
18 18
  */
19
-if( defined( 'AMARKAL_ADMIN_NOTIFICATION' ) ) return false;
19
+if( defined( 'AMARKAL_ADMIN_NOTIFICATION' ) ) {
20
+    return false;
21
+}
20 22
 define( 'AMARKAL_ADMIN_NOTIFICATION', true );
21 23
 
22 24
 if(!function_exists('_amarkal_admin_notification_init'))
@@ -70,7 +72,9 @@  discard block
 block discarded – undo
70 72
         $offset = 0;
71 73
         foreach($dismissed as $id)
72 74
         {
73
-            if( $id === $handle ) break;
75
+            if( $id === $handle ) {
76
+                break;
77
+            }
74 78
             $offset++;
75 79
         }
76 80
         array_splice( $dismissed, $offset, 1);
Please login to merge, or discard this patch.