Completed
Pull Request — master (#26)
by Daniel
09:07
created
blocks/forum_topics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 	{
168 168
 		for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++)
169 169
 		{
170
-			$row =& $topic_data[$i];
170
+			$row = & $topic_data[$i];
171 171
 			$forum_id = $row['forum_id'];
172 172
 			$topic_id = $row['topic_id'];
173 173
 
Please login to merge, or discard this patch.
services/poll.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 		$this->php_ext = $php_ext;
60 60
 	}
61 61
 
62
-	public function build(array $topic_data, \phpbb\template\twig\twig &$template)
62
+	public function build(array $topic_data, \phpbb\template\twig\twig & $template)
63 63
 	{
64 64
 		$this->user->add_lang('viewtopic');
65 65
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 	 * @param int $poll_most
169 169
 	 * @param \phpbb\template\twig\twig $template
170 170
 	 */
171
-	private function _build_poll_options(array $cur_voted_id, array $poll_info, $poll_total, $poll_most, \phpbb\template\twig\twig &$template)
171
+	private function _build_poll_options(array $cur_voted_id, array $poll_info, $poll_total, $poll_most, \phpbb\template\twig\twig & $template)
172 172
 	{
173 173
 		foreach ($poll_info as $poll_option)
174 174
 		{
Please login to merge, or discard this patch.
services/menus/display.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	/**
59 59
 	 *
60 60
 	 */
61
-	public function display_navlist(array $data, \phpbb\template\twig\twig &$template, $handle = 'tree')
61
+	public function display_navlist(array $data, \phpbb\template\twig\twig & $template, $handle = 'tree')
62 62
 	{
63 63
 		$this->prepare_items($data);
64 64
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 			}
107 107
 
108 108
 			$is_current_item = $this->is_current_item($row);
109
-			$this_depth	= $this->parental_depth[$row['parent_id']] + 1;
109
+			$this_depth = $this->parental_depth[$row['parent_id']] + 1;
110 110
 
111 111
 			$this->set_parental_depth($row, $this_depth, $is_current_item);
112 112
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 		}
186 186
 	}
187 187
 
188
-	protected function close_open_tags(\phpbb\template\twig\twig &$template, $handle, $repeat)
188
+	protected function close_open_tags(\phpbb\template\twig\twig & $template, $handle, $repeat)
189 189
 	{
190 190
 		for ($i = 0; $i < $repeat; $i++)
191 191
 		{
Please login to merge, or discard this patch.
event/listener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@
 block discarded – undo
110 110
 	public function load_permission_language($event)
111 111
 	{
112 112
 		$permissions = $event['permissions'];
113
-		$permissions['a_sm_manage_blocks']	= array('lang' => 'ACL_A_SM_MANAGE_BLOCKS', 'cat' => 'misc');
114
-		$permissions['a_sm_manage_menus']	= array('lang' => 'ACL_A_SM_MANAGE_MENUS', 'cat' => 'misc');
113
+		$permissions['a_sm_manage_blocks'] = array('lang' => 'ACL_A_SM_MANAGE_BLOCKS', 'cat' => 'misc');
114
+		$permissions['a_sm_manage_menus'] = array('lang' => 'ACL_A_SM_MANAGE_MENUS', 'cat' => 'misc');
115 115
 		$event['permissions'] = $permissions;
116 116
 	}
117 117
 
Please login to merge, or discard this patch.
blocks/custom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 		$content = $this->request->variable('content', '', true);
70 70
 		$cblocks = $this->get_custom_blocks();
71 71
 
72
-		$sql_data =	$this->get_default_fields($block_id);
72
+		$sql_data = $this->get_default_fields($block_id);
73 73
 		$sql_data['block_content'] = $content;
74 74
 
75 75
 		generate_text_for_storage($sql_data['block_content'], $sql_data['bbcode_uid'], $sql_data['bbcode_bitfield'], $sql_data['bbcode_options'], true, true, true);
Please login to merge, or discard this patch.
services/users/userlist.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@
 block discarded – undo
342 342
 			$new_list = trim($new_list, ',');
343 343
 
344 344
 			$new_userlist = $this->_get_userlist($new_list);
345
-			$current_user =& $new_userlist[$curr_key - 1];
345
+			$current_user = & $new_userlist[$curr_key - 1];
346 346
 
347 347
 			$this->settings['current_user'] = (int) $current_user;
348 348
 			$this->settings['userlist'] = $new_list;
Please login to merge, or discard this patch.