Index: /temp/trunk/html/test/kakinaka/mysql.php
===================================================================
--- /temp/trunk/html/test/kakinaka/mysql.php	(revision 4768)
+++ /temp/trunk/html/test/kakinaka/mysql.php	(revision 4769)
@@ -169,5 +169,5 @@
 
 	foreach($arrView as $key => $val){
-		if (strcasecmp($sql, $val) == 0){
+		if (stristr($sql, $val) != ""){
 			$changesql = eregi_replace("($key)", "$val", $sql);
 			sfInArray($changesql);
