quick fix

http://forum.phpwcms.org/viewtopic.php?f=8&t=16761&p=142577#p142580