bug 893: removed returns from some functions in includes/temp_functions.php