Jelajahi Sumber

Fixed a typo in results/index.php

adolfintel 7 tahun lalu
induk
melakukan
c0f99fb89b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Frontend/results/index.php

+ 1 - 1
Frontend/results/index.php

@@ -90,7 +90,7 @@ if($db_type=="mysql"){
 }else die();
 }else die();
 
 
 $ispinfo=json_decode($ispinfo,true)["processedString"];
 $ispinfo=json_decode($ispinfo,true)["processedString"];
-$dash=strrpos($ispinfo,"-");
+$dash=strpos($ispinfo,"-");
 if(!($dash===FALSE)){
 if(!($dash===FALSE)){
 	$ispinfo=substr($ispinfo,$dash+2);
 	$ispinfo=substr($ispinfo,$dash+2);
 	$par=strrpos($ispinfo,"(");
 	$par=strrpos($ispinfo,"(");