[Vtigercrm-commits] [vtiger-commits] r7562 - /vtigercrm/trunk/soap/wordplugin.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 05:09:30 EDT 2006
Author: richie
Date: Tue Jun 27 03:09:27 2006
New Revision: 7562
Log:
added security checks
Modified:
vtigercrm/trunk/soap/wordplugin.php
Modified: vtigercrm/trunk/soap/wordplugin.php
==============================================================================
--- vtigercrm/trunk/soap/wordplugin.php (original)
+++ vtigercrm/trunk/soap/wordplugin.php Tue Jun 27 03:09:27 2006
@@ -18,7 +18,7 @@
$NAMESPACE = 'http://www.vtiger.com/vtigercrm/';
$server = new soap_server;
-
+$accessDenied = "You are not permitted to perform this action";
$server->configureWSDL('vtigersoap');
$server->register(
@@ -89,6 +89,9 @@
$contact = new Contact();
return $contact->getColumnNames();
}
+ else
+ return null;
+
}
@@ -100,6 +103,9 @@
$account = new Account();
return $account->getColumnNames_Acnt();
}
+ else
+ return null;
+
}
@@ -111,6 +117,9 @@
$lead = new Lead();
return $lead->getColumnNames_Lead();
}
+ else
+ return null;
+
}
function get_user_columns($user_name, $password)
@@ -122,6 +131,9 @@
$user = new User();
return $user->getColumnNames_User();
}
+ else
+ return null;
+
}
More information about the vtigercrm-commits
mailing list