소스 검색

please stop fucking up everything you piece of shit extract_json function

lolcat 10 달 전
부모
커밋
cfcc4ec8d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/fuckhtml.php

+ 1 - 1
lib/fuckhtml.php

@@ -554,7 +554,7 @@ class fuckhtml{
 				case "\"":
 				case "'":
 					if(
-						$i > 1 && // only check if a quote could be there
+						$i !== 0 && // only check if a quote could be there
 						(
 							(
 								$json[$i - 1] === "\\" &&