Changeset 1821 for trunk/admin
- Timestamp:
- Feb 15, 2007, 4:03:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/history.php
r1817 r1821 259 259 $result = pwg_query($query); 260 260 $history_lines = $user_ids = $category_ids = $image_ids = array(); 261 while ($row = mysql_fetch_a rray($result))261 while ($row = mysql_fetch_assoc($result)) 262 262 { 263 263 $user_ids[$row['user_id']] = 1; … … 341 341 'IP' => $line['IP'], 342 342 'IMAGE' => isset($line['image_id']) 343 ? $label_of_image[$line['image_id']] 343 ? ( isset($label_of_image[$line['image_id']]) 344 ? $label_of_image[$line['image_id']] 345 : 'deleted '.$line['image_id']) 344 346 : $line['image_id'], 345 347 'SECTION' => $line['section'], 346 348 'CATEGORY' => isset($line['category_id']) 347 ? $name_of_category[$line['category_id']] 349 ? ( isset($name_of_category[$line['category_id']]) 350 ? $name_of_category[$line['category_id']] 351 : 'deleted '.$line['category_id'] ) 348 352 : '', 349 'TAG ' => $line['tag_ids'],353 'TAGS' => $line['tag_ids'], 350 354 'T_CLASS' => ($i++ % 2) ? 'row1' : 'row2', 351 355 )
Note: See TracChangeset
for help on using the changeset viewer.