Parcourir la source

Fix export of website. allowed_in_frames must be an int

Laurent Destailleur il y a 2 ans
Parent
commit
89f7e5ad30
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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";