From 89f7e5ad30ed1685fe5181e4868bca12ad06b220 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 24 Jul 2022 16:08:27 +0200 Subject: [PATCH] Fix export of website. allowed_in_frames must be an int --- htdocs/website/class/website.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index 0805b1c4ed6..c7687b8101f 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -1086,7 +1086,7 @@ class Website extends CommonObject $line .= "'".$this->db->escape($stringtoexport)."', "; // Replace \r \n to have record on 1 line $line .= "'".$this->db->escape($objectpageold->author_alias)."', "; - $line .= "'".$this->db->escape($objectpageold->allowed_in_frames)."'"; + $line .= (int) $objectpageold->allowed_in_frames; $line .= ");"; $line .= "\n";