Преглед изворни кода

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] === "\\" &&