minor codechanges inside functions.php - e.g. add missing MYSQL_ASSOC