Fix notice reported via forums
Merge pull request #1856 from dlobo/NoticeFixe

Fix notice reported via forums