Replaced eregi() with preg_match() and get_class() for thirdparty
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user