Changeset 5271


Ignore:
Timestamp:
03/22/10 23:22:59 (10 years ago)
Author:
plg
Message:

bug fixed: if the theme for guest is empty (I don't know how this could be,
but it has been reported), the fallback on constant PHPWG_DEFAULT_TEMPLATE
was not working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r5264 r5271  
    833833{ 
    834834  $default_user = get_default_user_info(true); 
    835   if ($default_user === false or !isset($default_user[$value_name])) 
     835  if ($default_user === false or empty($default_user[$value_name])) 
    836836  { 
    837837    return $sos_value; 
Note: See TracChangeset for help on using the changeset viewer.