== to ===

This commit is contained in:
DL6ER
2016-12-19 11:46:25 +01:00
parent a30d8918c4
commit 2d7ef8fd9a
+1 -1
View File
@@ -299,7 +299,7 @@
$list = $exploded[4];
$is = $exploded[6];
// Consider only gravity.list as DNS source (not e.g. hostname.list)
if(substr($list, strlen($list) - 12, 12) == "gravity.list" && $is === "is") {
if(substr($list, strlen($list) - 12, 12) === "gravity.list" && $is === "is") {
$lines[] = $line;
};
}