17 require_once SQ_CORE_PACKAGE_PATH.
'/system/conditions/condition/condition.inc';
45 parent::__construct($assetid);
61 if (!isset($condition_data[
'user_types'])) {
65 $user_asset_types = explode(
',', $condition_data[
'user_types']);
66 foreach ($user_asset_types as $asset_type) {
67 if (strcasecmp(trim($asset_type), get_class($GLOBALS[
'SQ_SYSTEM']->user)) === 0) {