From 78725a252b5454a4f93af0aad0c744a3f9971efb Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Tue, 25 Jun 2019 13:39:21 +0200
Subject: [PATCH] Added notice dismiss link.

---
 src/WPDesk/Notice/AjaxHandler.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/WPDesk/Notice/AjaxHandler.php b/src/WPDesk/Notice/AjaxHandler.php
index d4083ba..f222e42 100644
--- a/src/WPDesk/Notice/AjaxHandler.php
+++ b/src/WPDesk/Notice/AjaxHandler.php
@@ -83,11 +83,11 @@ class AjaxHandler implements HookablePluginDependant
     {
         if (isset($_POST[self::POST_FIELD_NOTICE_NAME])) {
             $noticeName = $_POST[self::POST_FIELD_NOTICE_NAME];
-	        if (isset($_POST[self::POST_FIELD_SOURCE])) {
-		        $source = $_POST[ self::POST_FIELD_SOURCE ];
-	        } else {
-	        	$source = null;
-	        }
+            if (isset($_POST[self::POST_FIELD_SOURCE])) {
+                $source = $_POST[ self::POST_FIELD_SOURCE ];
+            } else {
+                $source = null;
+            }
             update_option(
                 PermanentDismissibleNotice::OPTION_NAME_PREFIX . $noticeName,
                 PermanentDismissibleNotice::OPTION_VALUE_DISMISSED
-- 
GitLab