Replaced eregi() with preg_match() and get_class() for thirdparty

This commit is contained in:
abraar
2010-12-10 14:09:28 +00:00
parent 016eeae8a2
commit 96abdb996a
20 changed files with 50 additions and 51 deletions

View File

@@ -18,8 +18,6 @@ class UsersProperties extends BaseUsersProperties {
function UserPropertyExists($sUserUID) {
try {
$oUserProperty = UsersPropertiesPeer::retrieveByPk($sUserUID);
var_dump($oUserProperty);
var_dump($sUserUID);
if (is_object($oUserProperty) && get_class($oUserProperty) == 'UsersProperties') {
echo"inside";
return true;