Completed
Push — master ( 9a0cd7...f57167 )
by Daniel
10:27
created
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
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 		// having to edit menu items, we add app.php/ for all extension routes
155 155
 		if (strpos($this->item_url, 'app.php') === false && $this->is_extension_route($this->item_url))
156 156
 		{
157
-			$this->item_url = 'app.php/' . $this->item_url;
157
+			$this->item_url = 'app.php/'.$this->item_url;
158 158
 		}
159 159
 
160 160
 		return $this;
@@ -201,6 +201,6 @@  discard block
 block discarded – undo
201 201
 	 */
202 202
 	private function add_board_url($item_url)
203 203
 	{
204
-		return $this->board_url . ($item_url[0] === '/' ? '' : '/') . $item_url;
204
+		return $this->board_url.($item_url[0] === '/' ? '' : '/').$item_url;
205 205
 	}
206 206
 }
Please login to merge, or discard this patch.