mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
email fetch bc fix
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user