Update core/updater.php

Fix for updater script (bad sql statement)