diff --git a/wpsc-components/theme-engine-v1/templates/functions/wpsc-transaction_results_functions.php b/wpsc-components/theme-engine-v1/templates/functions/wpsc-transaction_results_functions.php
index 2c8d6b2126..ff920a55ec 100644
--- a/wpsc-components/theme-engine-v1/templates/functions/wpsc-transaction_results_functions.php
+++ b/wpsc-components/theme-engine-v1/templates/functions/wpsc-transaction_results_functions.php
@@ -119,7 +119,8 @@ function wpsc_transaction_theme() {
if ( !empty($sessionid) ){
$cart_log_id = $wpdb->get_var( $wpdb->prepare( "SELECT `id` FROM `" . WPSC_TABLE_PURCHASE_LOGS . "` WHERE `sessionid`= %s LIMIT 1", $sessionid ) );
return transaction_results( $sessionid, true );
- }else
- printf( __( 'Sorry your transaction was not accepted.
Click here to go back to checkout page.', 'wpsc' ), get_option( "shopping_cart_url" ) );
+ } else {
+ printf( __( 'There have not been any purchases yet.
Click here to go back to checkout page.', 'wpsc' ), get_option( "shopping_cart_url" ) );
+ }
}
-}
\ No newline at end of file
+}