Merge pull request #2216 from frederic34/patch-10

Update cidlookup.php
This commit is contained in:
Laurent Destailleur 2015-01-06 00:06:17 +01:00
commit 38be767a7c

View File

@ -28,10 +28,17 @@
*
*/
$phone = $_GET['phone'];
include '../master.inc.php';
$phone = GETPOST('phone');
// Security check
if (empty($conf->clicktodial->enabled)) {
print "Error: Module Click to dial not active\n";
exit;
}
// Check parameters
if (empty($phone))