parse19/PyroSnippets — Issue #10: Testing with v2.0.0-dev, snippets_m error line 159
Author: ChrisSoutham
Created: 2011-11-02 18:18:02+00:00
State: open

Hi, loving Snippets - you really should charge for it!

I'm getting an error when setting up a snippet:
Line 159 - snippets_m
if(isset($this->snippets->{$snippet->type}->parameters)):

ERROR - 2011-11-02 18:12:13 --> Severity: Notice --> Undefined variable: snippet /httpdocs/addons/shared_addons/modules/snippets/models/snippets_m.php 159
ERROR - 2011-11-02 18:12:13 --> Severity: Notice --> Trying to get property of non-object /httpdocs/addons/shared_addons/modules/snippets/models/snippets_m.php 159

If I completely remove the if statement completely (159-167) I get a $params warning in the logs but the snippet saves fine, I'm guessing it probably doesn't save the image allowed types.