Changeset 1401 in ExiteCMS for trunk/includes/user_functions.php


Ignore:
Timestamp:
05/15/08 15:10:13 (4 years ago)
Author:
hverton
Message:

fixed typo in the color BBcode parser
fixed failure in parsing URL BBcode when it had a WikiLink match in the URL
fixed bug in groupaccess() causing a query failure for webmasters
fixed not setting the last login date when confirming a registration (which auto logs in the user)
added a "View Posts" button to the forum index and the thread index pages, which gives you a flat list (newest first) with a search option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1352 r1401  
    361361 
    362362    if (iSUPERADMIN) {  
    363         $res .= ($hidden == false?" AND ":"")."($field != '100'"; 
     363        $res .= ($res != ""?" AND ":"")."$field != '100'"; 
     364        return $res; 
    364365    } elseif ($userdata['user_level'] >= 102) {  
    365366        $res .= ($hidden == false?" AND ":"")."($field='0' OR $field='101' OR $field='102'"; 
Note: See TracChangeset for help on using the changeset viewer.