From 0089ab102c906a41aab663cf11d201f1076062cc Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 3 Nov 2003 22:39:53 +0000 Subject: define( CONSTANT, 'value' ) becomes define( "CONSTANT", 'value') git-svn-id: http://piwigo.org/svn/trunk@231 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/stats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/stats.php') diff --git a/admin/stats.php b/admin/stats.php index 08b8f5de0..01780a95e 100644 --- a/admin/stats.php +++ b/admin/stats.php @@ -42,8 +42,8 @@ $tpl = array( 'stats_last_days','date','login', templatize_array( $tpl, 'lang', $sub ); $vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); //--------------------------------------------------- number of days to display -if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] ); -else define( MAX_DAYS, 0 ); +if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] ); +else define( "MAX_DAYS", 0 ); foreach ( $conf['last_days'] as $option ) { $vtp->addSession( $sub, 'last_day_option' ); -- cgit v1.2.3