Hi there,
I think I found a bug in the modx core class, but because I’m not really sure where to post this, I’ll just try here, maybe someone will take care of it ;P
I tried to apply a property set to a plugin I’m building, but no setting would be transfered to the plugin. After looking at the "invokeEvent" method in the modx class, I got to the line:
$this->event->propertySet= (($pspos = strpos($pluginPropset, ':')) > 1) ? substr($pluginPropset, $pspos + 1) : '';
Where I think it sould be
$this->event->propertySet= (($pspos = strpos($pluginPropset, ':')) > 0) ? substr($pluginPropset, $pspos + 1) : '';
because, otherwise plugins with ids < 10 will not get their property set applied correctly.
Hope someone can confirm this.
Best regards!