All variables in page.tpl.php should be inclosed in !empty() when checked in a if clause.
If may throw some "undefined variable" notices.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1865998.patch | 3.54 KB | josesanmartin |
All variables in page.tpl.php should be inclosed in !empty() when checked in a if clause.
If may throw some "undefined variable" notices.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1865998.patch | 3.54 KB | josesanmartin |
Comments
Comment #1
josesanmartin commentedSee patch below
Comment #2
frankbaele commentedor other solution could be that the variables are declared properly, would prefer a better declaration
Comment #3
wundo commentedThanks, committed.