Update core/updater.php

Fix for updater script (bad sql statement)
Merge pull request #86 from AekMuldoon/master

Minor fix for updater script