cclaerhout
Well-known member
Class: XenResource_Search_DataHandler_Update
The $constraintInfo has no reason not to be there, but since there's a conditional, a break would be safer.
PHP:
case 'resprefix':
if ($constraintInfo)
{
return array(
'metadata' => array('resprefix', preg_split('/\D+/', strval($constraintInfo))),
);
}
case 'is_resource':
The $constraintInfo has no reason not to be there, but since there's a conditional, a break would be safer.