Index: temp/trunk/html/shopping/complete.php
===================================================================
--- temp/trunk/html/shopping/complete.php	(revision 5934)
+++ temp/trunk/html/shopping/complete.php	(revision 6592)
@@ -484,5 +484,5 @@
 	if(($arrRet[0]['stock_unlimited'] != '1' && $arrRet[0]['stock'] < $quantity) || $quantity == 0) {
 		$objQuery->rollback();
-		sfDispSiteError(SOLD_OUT);
+		sfDispSiteError(SOLD_OUT, "", true);
 	// ÌµÀ©¸Â¤Î¾ì¹ç¡¢ºß¸Ë¤ÏNULL
 	} elseif($arrRet[0]['stock_unlimited'] == '1') {
Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 6551)
+++ temp/trunk/data/lib/slib.php	(revision 6592)
@@ -183,5 +183,5 @@
 
 /* ¥µ¥¤¥È¥¨¥é¡¼¥Ú¡¼¥¸¤ÎÉ½¼¨ */
-function sfDispSiteError($type, $objSiteSess = "") {
+function sfDispSiteError($type, $objSiteSess = "", $return_top = false) {
 	
 	if ($objSiteSess != "") {
@@ -268,4 +268,6 @@
 			break;
 	}
+	
+	$objPage->return_top = $return_top;
 	
 	$objView->assignobj($objPage);
