fixed bug with Mysql. Thanks @Adi for reporting.
Merge pull request #159 from niphlod/issue/mysql_wiki

fixed bug with Mysql. Thanks @Adi for reporting.