Dotclear


Ignore:
Timestamp:
05/02/11 13:50:51 (14 years ago)
Author:
xpla@…
Branch:
userprefs
Message:

Bugfix for userprefs load.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.prefs.php

    r3 r106  
    4242          $this->table = $core->prefix.'pref'; 
    4343          $this->user_id =& $user_id; 
    44           $this->loadPrefs(); 
     44          //~ $this->loadPrefs(); 
    4545     } 
    4646      
     
    4848     Retrieves all workspaces (and their prefs) from database, with one query.  
    4949     */ 
    50      private function loadPrefs() 
     50     public function loadPrefs() 
    5151     { 
    5252          $strReq = 'SELECT user_id, pref_id, pref_value, '. 
     
    6060          } catch (Exception $e) { 
    6161               trigger_error(__('Unable to retrieve workspaces:').' '.$this->con->error(), E_USER_ERROR); 
     62               throw $e; 
    6263          } 
    6364           
Note: See TracChangeset for help on using the changeset viewer.

Sites map