From f6c2f2b1b11f6369beaf88b53efbb8afa64e2ca7 Mon Sep 17 00:00:00 2001 From: nikrou Date: Fri, 28 Jul 2006 08:36:38 +0000 Subject: refresh_time must be 0 by default fix line too long git-svn-id: http://piwigo.org/svn/trunk@1510 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/functions.inc.php b/include/functions.inc.php index e8d9957bb..9c859d227 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -386,7 +386,8 @@ function pwg_log( $file, $category, $picture = '' ) if ($conf['log']) { - if ( ($conf['history_admin'] ) or ( (! $conf['history_admin']) and (!is_admin()) ) ) + if (($conf['history_admin']) or ((! $conf['history_admin']) + and (!is_admin()))) { $login = ($user['id'] == $conf['guest_id']) ? 'guest' : addslashes($user['username']); @@ -556,7 +557,7 @@ function pwg_debug( $string ) * @param integer $refreh_time * @return void */ -function redirect( $url , $msg = '', $refresh_time = 1000) +function redirect( $url , $msg = '', $refresh_time = 0) { global $lang_info, $lang; -- cgit v1.2.3