Completed
Push — master ( 0118a0...72244b )
by Jamie
04:29 queued 01:31
created
classes/controllers/FrmAddonsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -175,15 +175,15 @@
 block discarded – undo
175 175
 			}
176 176
 			$addon['link'] = FrmAppHelper::make_affiliate_url( $addon['link'] );
177 177
 
178
-			$addons[ $slug ] = $addon;
178
+			$addons[$slug] = $addon;
179 179
 		}
180 180
 	}
181 181
 
182 182
 	public static function get_licenses() {
183
-		FrmAppHelper::permission_check('frm_change_settings');
183
+		FrmAppHelper::permission_check( 'frm_change_settings' );
184 184
 		check_ajax_referer( 'frm_ajax', 'nonce' );
185 185
 
186
-		$license = get_option('frmpro-credentials');
186
+		$license = get_option( 'frmpro-credentials' );
187 187
 		if ( $license && is_array( $license ) && isset( $license['license'] ) ) {
188 188
 			$url = 'http://formidablepro.com/frm-edd-api/licenses?l=' . urlencode( base64_encode( $license['license'] ) );
189 189
 			$licenses = self::send_api_request( $url, array( 'name' => 'frm_api_licence', 'expires' => 60 * 60 * 5 ) );
Please login to merge, or discard this patch.