fixed the missing variable declaration
resolves  http://forums.web2project.net/viewtopic.php?f=6&t=9433;
Merge pull request #187 from caseysoftware/master

Fixed the missing variable