Changeset 26
- Timestamp:
- 12/29/2004 01:23:42 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/profile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r18 r26 28 28 endforeach; 29 29 $topic_ids = join(',', $topics); 30 $topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE topic_id IN ($topic_ids)"); 31 foreach ($topics as $topic) : 32 $topic_cache[$topic->topic_id] = $topic; 33 endforeach; 30 31 if ( $posts || $threads ) : 32 $topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE topic_id IN ($topic_ids)"); 33 foreach ($topics as $topic) : 34 $topic_cache[$topic->topic_id] = $topic; 35 endforeach; 36 endif; 34 37 35 38 bb_add_filter('post_time', 'strtotime');
Note: See TracChangeset
for help on using the changeset viewer.