// Free result
SQL_FREERESULT($result_main);
-
- // Insert footer if no image
- if ($data['do'] != 'img') {
- // Write footer
- loadIncludeOnce('inc/footer.php');
- } // END - if
} else {
// Not all variables are set
$data['error_code'] = getCode('ERROR_MAILID');
+ $data['do'] = 'failed';
}
// Error code is set?
handleMailIdErrorCode($data['error_code']);
+// Insert footer if no image
+if ($data['do'] != 'img') {
+ // Write footer
+ loadIncludeOnce('inc/footer.php');
+} // END - if
+
// Really all done here... ;-)
doShutdown();