diff options
author | gweltas <gweltas@piwigo.org> | 2004-01-11 23:40:39 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-01-11 23:40:39 +0000 |
commit | e1b59cb0a83e8b6cff7b05ea18cd8cdd985a9af7 (patch) | |
tree | fc9212377cc1e9f055c1b34f9f26808d5ab53bf9 /comments.php | |
parent | 298077dff661711fe55694f5e31931246e483495 (diff) |
Corrections de quelques warnings php.
git-svn-id: http://piwigo.org/svn/branches/release-1_3@274 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r-- | comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comments.php b/comments.php index e4159a107..f90f4dcac 100644 --- a/comments.php +++ b/comments.php @@ -140,8 +140,8 @@ $tpl = array( 'title_comments','stats_last_days','search_return_main_page' ); templatize_array( $tpl, 'lang', $handle ); $vtp->setGlobalVar( $handle, 'text_color', $user['couleur_text'] ); //--------------------------------------------------- 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 ); //----------------------------------------- non specific section initialization $array_cat_directories = array(); $array_cat_names = array(); |