email fetch bc fix

This commit is contained in:
Yuri Kuznetsov
2022-04-21 12:14:07 +03:00
parent cca561f2c3
commit e73ba5c734

View File

@@ -67,6 +67,11 @@ class FetchData
return null;
}
// For backward compatibility.
if ($value === 0) {
return null;
}
if (!is_string($value)) {
throw new RuntimeException("Bad value in fetch-data.");
}