Passed
Branch master (e7a73b)
by Tobias
02:55
created
controller/main.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 		$myPost = array();
118 118
 		foreach ($raw_post_array as $keyval)
119 119
 		{
120
-			$keyval = explode ('=', $keyval);
120
+			$keyval = explode('=', $keyval);
121 121
 			if (count($keyval) == 2)
122 122
 			{
123 123
 				$myPost[$keyval[0]] = urldecode($keyval[1]);
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 		}
126 126
 		// read the post from PayPal system and add 'cmd'
127 127
 		$req = 'cmd=_notify-validate';
128
-		if(function_exists('get_magic_quotes_gpc'))
128
+		if (function_exists('get_magic_quotes_gpc'))
129 129
 		{
130 130
 			$get_magic_quotes_exists = true;
131 131
 		}
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 		}
158 158
 		curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
159 159
 		curl_setopt($ch, CURLOPT_POST, 1);
160
-		curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
160
+		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
161 161
 		curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
162 162
 		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
163 163
 		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
Please login to merge, or discard this patch.
acp/paypal_module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
 				$item_id = $request->variable('item_id', 0);
169 169
 
170
-				$action    = $request->variable('action', '');
170
+				$action = $request->variable('action', '');
171 171
 				switch ($action)
172 172
 				{
173 173
 					case 'add':
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 								else if ($action == 'edit')
266 266
 								{
267 267
 									$sql = 'UPDATE ' . $table_prefix . 'paypal_items SET
268
-										' . $db->sql_build_array('UPDATE', $sql_data) .'
268
+										' . $db->sql_build_array('UPDATE', $sql_data) . '
269 269
 										WHERE item_id = ' . (int) $item_id;
270 270
 									$db->sql_query($sql);
271 271
 									trigger_error($user->lang('ACP_ITEM_EDIT_SUCCESS') . adm_back_link($this->u_action));
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 				$this->page_title = $user->lang('ACP_PAYPAL_DONATIONS');
330 330
 
331 331
 
332
-				$action    = $request->variable('action', '');
332
+				$action = $request->variable('action', '');
333 333
 				if ($action == 'delete')
334 334
 				{
335 335
 					$donation_id = $request->variable('donation_id', 0);
Please login to merge, or discard this patch.