Fix PHP strict error "Undefined variable"
Fix PHP strict error "Undefined variable"

Picked from ca4c05c26e

jensscherbl/symphony,bauhouse/sym-todo-list,symphonycms/symphony-2,michael-e/symphony-2,michael-e/symphony-2,bauhouse/sym-todo-list,jensscherbl/symphony,symphonycms/symphony-2