Bugfix inside functions.php for wrong db-function-call.