Project

General

Profile

« Previous | Next » 

Revision 1001

Added by Matthias over 15 years ago

Fixed small bug introduced in changeset [999]

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
21-June-2009 Matthias Gallas
15
#	Fixed small bug introduced in changeset [999]
14 16
19-June-2009 Matthias Gallas
15 17
#	Fixed bug that parent pages didn't inherit language settings to kind pages
16 18
17-June-2009 Ruud Eisinga
17 19
#	Bugfix in "droplets/upgrade.php" - wrong parameter order for adding fields.
18 20
	also the query for "normal" upgrades had a typo.
19
! 	Added warning in output_filter that the function will be removed in 2.9
21
!	Added warning in output_filter that the function will be removed in 2.9
20 22
17-June-2009 Dietrich Roland Pehlke
21 23
#	Bugfix in "droplets/upgrade.php" - wrong tablename change to the correct one
22 24
+	Add upgrade-script to droplets
trunk/wb/admin/pages/add.php
129 129
}
130 130

  
131 131
// Insert page into pages table
132
$query = "INSERT INTO ".TABLE_PREFIX."pages (page_title,menu_title,parent,template,target,position,visibility,searching,menu,language,admin_groups,viewing_groups,modified_when,modified_by) VALUES ('$title','$title','$parent','$template','_top','$position','$visibility','1','1','".DEFAULT_LANGUAGE."','$admin_groups','$viewing_groups','".mktime()."','".$admin->get_user_id()."')";
132
$query = "INSERT INTO ".TABLE_PREFIX."pages (page_title,menu_title,parent,template,target,position,visibility,searching,menu,language,admin_groups,viewing_groups,modified_when,modified_by) VALUES ('$title','$title','$parent','$template','_top','$position','$visibility','1','1','".$language."','$admin_groups','$viewing_groups','".mktime()."','".$admin->get_user_id()."')";
133 133
$database->query($query);
134 134
if($database->is_error()) {
135 135
	$admin->print_error($database->get_error());

Also available in: Unified diff