#791: load_logic.php, escape single quotes