Index: /temp/trunk/html/products/detail.php
===================================================================
--- /temp/trunk/html/products/detail.php	(revision 4608)
+++ /temp/trunk/html/products/detail.php	(revision 4894)
@@ -393,5 +393,5 @@
 	//¸¡º÷¾ò·ï
 	$col = "name, main_list_image, price01_min, price02_min, price01_max, price02_max, point_rate";
-	$from = "vw_products_allclass AS V ";
+	$from = "vw_products_allclass ";
 	$where = "del_flg = 0 AND status = 1 AND (stock_max <> 0 OR stock_max IS NULL) AND product_id = ? ";
 	$arrval[] = $tmp_id;
Index: /temp/trunk/data/lib/slib.php
===================================================================
--- /temp/trunk/data/lib/slib.php	(revision 4893)
+++ /temp/trunk/data/lib/slib.php	(revision 4894)
@@ -2394,5 +2394,5 @@
 // RANDOM()¤òRAND()¤ËÊÑ´¹¤¹¤ë
 function sfChangeRANDOM($sql){
-	$changesql = eregi_replace("(random())", " RAND ", $sql);
+	$changesql = eregi_replace("( RANDOM)", " RAND ", $sql);
 	return $changesql;
 }
