Completed
Push — master ( 5bb186...bac982 )
by Erwan
03:41
created
event/search_listener.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
 
37 37
 	public function __construct(\phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \ernadoo\qte\qte $qte, \ernadoo\qte\search\fulltext_attribute $qte_search)
38 38
 	{
39
-		$this->request		= $request;
40
-		$this->template		= $template;
41
-		$this->user			= $user;
42
-		$this->qte			= $qte;
43
-		$this->qte_search	= $qte_search;
39
+		$this->request = $request;
40
+		$this->template = $template;
41
+		$this->user = $user;
42
+		$this->qte = $qte;
43
+		$this->qte_search = $qte_search;
44 44
 	}
45 45
 
46 46
 	static public function getSubscribedEvents()
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
 	{
128 128
 		if ($this->searc_attr)
129 129
 		{
130
-			$keywords	= utf8_normalize_nfc($this->request->variable('keywords', '', true));
131
-			$author		= $this->request->variable('author', '', true);
130
+			$keywords = utf8_normalize_nfc($this->request->variable('keywords', '', true));
131
+			$author = $this->request->variable('author', '', true);
132 132
 
133 133
 			if (!$keywords && !$author)
134 134
 			{
Please login to merge, or discard this patch.