Changeset 169 for trunk


Ignore:
Timestamp:
Oct 5, 2003, 12:41:33 PM (21 years ago)
Author:
z0rglub
Message:

Every user (including the webmaster) must have his favorites checked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_modify.php

    r108 r169  
    8686  mysql_query( $query );
    8787
     88  // checking users favorites
    8889  $query = 'SELECT id';
    8990  $query.= ' FROM '.PREFIX_TABLE.'users';
    90   $query.= " WHERE username != '".$conf['webmaster']."'";
    9191  $query.= ';';
    9292  $result = mysql_query( $query );
    93   while ( $row = mysql_fetch_array ( $result ) )
     93  while ( $row = mysql_fetch_array( $result ) )
    9494  {
    9595    check_favorites( $row['id'] );
    9696  }
     97
    9798  $vtp->addSession( $sub, 'confirmation' );
    9899  $url = add_session_id( './admin.php?page=cat_list' );
Note: See TracChangeset for help on using the changeset viewer.