Browse Source

FIX warning

Laurent Destailleur 2 years ago
parent
commit
c1b6d6eb11
1 changed files with 10 additions and 0 deletions
  1. 10 0
      htdocs/website/index.php

+ 10 - 0
htdocs/website/index.php

@@ -3747,7 +3747,17 @@ if ($action == 'editmeta' || $action == 'createcontainer') {	// Edit properties
 		$pagestatus = $objectpage->status;
 		$pagestatus = $objectpage->status;
 	} else {
 	} else {
 		$type_container = 'page';
 		$type_container = 'page';
+		$pageurl = '';
+		$pagealiasalt = '';
+		$pagetitle = '';
+		$pagedescription = '';
+		$pageimage = '';
+		$pagekeywords = '';
+		$pagelang = '';
+		$pageallowedinframes = 0;
+		$pagehtmlheader = '';
 		$pagedatecreation = dol_now();
 		$pagedatecreation = dol_now();
+		$pagedatemodification = '';
 		$pageauthorid = $user->id;
 		$pageauthorid = $user->id;
 		$pageusermodifid = 0;
 		$pageusermodifid = 0;
 		$pageauthoralias = '';
 		$pageauthoralias = '';