Update module.inc.php

for Newer versions of mysql
Merge pull request #7 from mediart/patch-1

Update module.inc.php