Announcement

Collapse
No announcement yet.

showthread_query hook appears twice?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • showthread_query hook appears twice?

    In showthread.php, the "showthread_query" hook and "showthread_postbit_create" appear at two locations, is that how hook should be?


    Line 912 and 1370

    PHP Code:
        ($hook vBulletinHook::fetch_hook('showthread_query')) ? eval($hook) : false

    Line 1014 and 1456
    PHP Code:
            ($hook vBulletinHook::fetch_hook('showthread_postbit_create')) ? eval($hook) : false
    Last edited by mtha; Sat 20th Aug '05, 9:45pm.

  • #2
    Yes, as they're on each side of an IF/ELSE condition.

    One is used for linear mode, they other for threaded/hybrid mode.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    Loading...
    Working...
    X