diff options
author | gweltas <gweltas@piwigo.org> | 2004-01-12 23:41:53 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-01-12 23:41:53 +0000 |
commit | 0fa0c8bb07c80884ac8b79560ba4c4119abfcd5c (patch) | |
tree | 520a704560749c2e5a981092bae7db99e34cf27b /admin/comments.php | |
parent | 7b8d0b8dd8d3f5fa25dedaadb922525e7c95ee3b (diff) |
Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/comments.php')
-rw-r--r-- | admin/comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/comments.php b/admin/comments.php index 1706897b8..7036a2fb2 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -164,8 +164,8 @@ $tpl = array( 'stats_last_days','delete','close','submit','open' ); 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 ); //----------------------------------------- non specific section initialization $array_cat_directories = array(); $array_cat_names = array(); |