]> git.mxchange.org Git - mailer.git/blobdiff - network-vcheck.php
Changed order of AND to avoid call of function(s)
[mailer.git] / network-vcheck.php
index 3bb6ff5734343251b2d2361cff391e97a7204aed..f615c1778a3b99d532c3bfdc04d44a58d424d204 100644 (file)
@@ -39,7 +39,7 @@
 require('inc/libs/security_functions.php');
 
 // Init start time
-$GLOBALS['__start_time'] = microtime(true);
+$GLOBALS['__start_time'] = microtime(TRUE);
 
 // Set module and output mode (raw)
 $GLOBALS['__module']      = 'network-vcheck';
@@ -58,7 +58,7 @@ setContentType('text/plain');
 loadIncludeOnce('inc/header.php');
 
 // Is the required extension installed?
-if (isExtensionInstalled('network')) {
+if ((isExtensionInstalled('network')) && (countRequestGet() > 0)) {
        // It is installed, so handle the request
        handleNetworkPaymentCheckRequest();
 } // END - if