Code cosmetics applied
[mailer.git] / inc / modules / frametester.php
index 3c81aa5e3b2d37874a516d5db4f94405e572d5f3..bbe2c5a122eeccd9e625f6661d8dd4c7117328eb 100644 (file)
@@ -74,19 +74,19 @@ if (REQUEST_ISSET_GET(('order'))) {
        }
 }
 
-if ((REQUEST_ISSET_POST(('url'))) || (REQUEST_ISSET_GET(('url'))) || (REQUEST_ISSET_GET(('frame')))) {
+if ((REQUEST_ISSET_POST('url')) || (REQUEST_ISSET_GET('url')) || (REQUEST_ISSET_GET('frame'))) {
        // Default URL is ours
        $url = constant('URL');
 
        // Decode URL if set in GET parameters
-       if (REQUEST_ISSET_GET(('url')))  $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(REQUEST_GET('url')))));
+       if (REQUEST_ISSET_GET('url'))  $url = decodeString(str_replace(' ', '+', compileUriCode(urldecode(REQUEST_GET('url')))));
 
        // Use URL from POST data if set
-       if (REQUEST_ISSET_POST(('url'))) $url = REQUEST_POST('url');
+       if (REQUEST_ISSET_POST('url')) $url = REQUEST_POST('url');
 
        // Add missing element
        $frame = '';
-       if (REQUEST_ISSET_GET(('frame'))) $frame = REQUEST_GET(('frame'));
+       if (REQUEST_ISSET_GET('frame')) $frame = REQUEST_GET('frame');
        switch ($frame)
        {
                case '':