mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
to not try to sanitise a null - see https://github.com/postfixadmin/postfixadmin/issues/650
This commit is contained in:
1 parent
989a709ee5
commit
f760d2cd3a
1 file changed
+1
-1
+1
-1
@@ -138,7 +138,7 @@ class PFASmarty
|
||||
* */
|
||||
public function sanitise($data)
|
||||
{
|
||||
if (is_object($data)) {
|
||||
if (is_object($data) || is_null($data)) {
|
||||
return $data; // can't handle
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user