Reply to thread

Class: XenResource_Search_DataHandler_Update

[php]

      case 'resprefix':

         if ($constraintInfo)

         {

           return array(

             'metadata' => array('resprefix', preg_split('/\D+/', strval($constraintInfo))),

           );

         }


       case 'is_resource':

[/php]


The $constraintInfo has no reason not to be there, but since there's a conditional, a break would be safer.


Back
Top Bottom