croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

Sorry, I'm an idiot #67

Closed elivz closed 11 years ago

elivz commented 11 years ago

...Or at least I should know better than to submit pull requests after dinner-time. I was doing straight boolean logic rather than EE's weird 1/0-based return values, which worked in my use-case but not overall. How embarrassing....

Here's the fixed version.