changed namepage to newpage

This commit is contained in:
skeeter 2001-01-21 14:02:29 +00:00
parent d489da2251
commit 82736bb424

View File

@ -23,7 +23,7 @@
include("../header.inc.php");
$newpage = $phpgw_info["user"]["preferences"]["calendar"]["defaultcalendar"];
if ($namepage=="index.php") {
if ($newpage=="index.php") {
$newpage = "month.php";
$phpgw->preferences->change("calendar","defaultcalendar","month.php");
$phpgw->preferences->commit();