Fixed parser notices about returning references from function and accessing save.php with no data to save.