Browse Source

Fix export of website. allowed_in_frames must be an int

Laurent Destailleur 2 năm trước cách đây
mục cha
commit
89f7e5ad30
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      htdocs/website/class/website.class.php

+ 1 - 1
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";