Fix export of website. allowed_in_frames must be an int

This commit is contained in:
Laurent Destailleur 2022-07-24 16:08:27 +02:00
parent e9892fdc32
commit 89f7e5ad30

View File

@ -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";