Completed
Push — master ( e6a35d...cda626 )
by Daniel
09:33
created
services/menus/menu_block.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 	 */
133 133
 	 protected function is_navigable(array $row)
134 134
 	 {
135
-	 	return (!$row['host'] && (!file_exists('.' . $row['item_url']) || pathinfo($row['item_url'], PATHINFO_EXTENSION ) === $this->php_ext)) ? true : false;
135
+	 	return (!$row['host'] && (!file_exists('.'.$row['item_url']) || pathinfo($row['item_url'], PATHINFO_EXTENSION) === $this->php_ext)) ? true : false;
136 136
 	 }
137 137
 
138 138
 	/**
Please login to merge, or discard this patch.
model/menus/entity/item.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 */
137 137
 	public function set_item_icon($icon)
138 138
 	{
139
-		$this->item_icon = ($icon) ? trim($icon) . ' ' : '';
139
+		$this->item_icon = ($icon) ? trim($icon).' ' : '';
140 140
 		return $this;
141 141
 	}
142 142
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 		// add leading / for local paths, except leading hashtags
154 154
 		if ($this->item_url && $this->item_url[0] !== '#' && $this->is_local_path($this->item_url))
155 155
 		{
156
-			$this->item_url = '/' . $this->item_url;
156
+			$this->item_url = '/'.$this->item_url;
157 157
 		}
158 158
 
159 159
 		return $this;
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 
169 169
 		if ($item_url && $item_url[0] === '/')
170 170
 		{
171
-			$item_url = $this->board_url . $item_url;
171
+			$item_url = $this->board_url.$item_url;
172 172
 			if ($this->mod_rewrite_enabled)
173 173
 			{
174 174
 				$item_url = str_replace('app.php/', '', $item_url);
Please login to merge, or discard this patch.