* include/config_process.php: Fixing warning when no timezone is defined for the user
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
594018f2d9
commit
455a548876
|
@ -1,3 +1,6 @@
|
|||
2010-03-19 Eric Ross <eric.ross.c@gmail.com>
|
||||
* include/config_process.php: Fixing warning when no timezone is defined for the user
|
||||
|
||||
2010-03-19 Eric Ross <eric.ross.c@gmail.com>
|
||||
Adding support to show and purge data from the log4x table
|
||||
|
||||
|
|
|
@ -87,10 +87,11 @@ if (isset ($config['id_user'])){
|
|||
}
|
||||
|
||||
// Each user could have it's own timezone)
|
||||
if ($userinfo["timezone"] != ""){
|
||||
date_default_timezone_set($userinfo["timezone"]);
|
||||
if (isset($userinfo["timezone"])) {
|
||||
if ($userinfo["timezone"] != ""){
|
||||
date_default_timezone_set($userinfo["timezone"]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$l10n = NULL;
|
||||
|
|
Loading…
Reference in New Issue