Changeset 149 for trunk/lib/Version.inc.php
- Timestamp:
- Jun 5, 2006 2:34:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Version.inc.php
r146 r149 61 61 $app =& App::getInstance(); 62 62 63 if (!method_exists($auth_object, 'get Val') || !method_exists($auth_object, 'getUsername')) {63 if (!method_exists($auth_object, 'get') || !method_exists($auth_object, 'getUsername')) { 64 64 trigger_error('Constructor not provided a valid Auth_* object.', E_USER_ERROR); 65 65 } … … 202 202 '" . $db->escapeString($title) . "', 203 203 '" . $db->escapeString($notes) . "', 204 '" . $db->escapeString($this->_auth->get Val('user_id')) . "',204 '" . $db->escapeString($this->_auth->get('user_id')) . "', 205 205 NOW() 206 206 ) … … 363 363 while ($row = mysql_fetch_assoc($qid)) { 364 364 // Get admin usernames. 365 $row['editor'] = $this->_auth->get Val('auth_type') . ' ' . $this->_auth->getUsername($row['saved_by_user_id']);365 $row['editor'] = $this->_auth->get('auth_type') . ' ' . $this->_auth->getUsername($row['saved_by_user_id']); 366 366 $versions[] = $row; 367 367 }
Note: See TracChangeset
for help on using the changeset viewer.