I'm no Drupal expert (actually I know nothing about it) but I do know PHP and understant how it works.
I just read your code to use it for a PHP framework and just notice something which seems to me to be a typo mistake. The use of drupal_static() has no effect becaue line 120 is :
if (!isset($function)) {
and should be (missing 's') :
if (!isset($functions)) {
| Comment | File | Size | Author |
|---|
Comments
Comment #1
steven jones commentedThanks for spotting this, patch attached.
Comment #3
steven jones commentedThis needs to be against the 2.x branch.
Comment #4
steven jones commented#1: sassy-1788924-typo-function.patch queued for re-testing.
Comment #6
joseph.olstadTry this patch instead
Comment #7
joseph.olstadComment #9
joseph.olstadfixed
Comment #10
joseph.olstadComment #12
joseph.olstadThis was fixed, it won't apply because it's already applied.
Comment #15
joseph.olstadthis was already committed, so the patch will no longer apply and is no longer testable