diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
| commit | c105a9834fd9c5a320d41422c50fa84e5bc12084 (patch) | |
| tree | 48d0d400d6e0a4fd87485e89accfdeaf8db5c24b /page_watches.php | |
| parent | 1778d95793e4bc5d494ece84ec177b5629c830f3 (diff) | |
| download | wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.tar.gz wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.tar.bz2 wiki-c105a9834fd9c5a320d41422c50fa84e5bc12084.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'page_watches.php')
| -rwxr-xr-x | page_watches.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/page_watches.php b/page_watches.php index db00931..3a1c1dc 100755 --- a/page_watches.php +++ b/page_watches.php @@ -29,8 +29,6 @@ $gComment = new LibertyComment(); $numComments = $gComment->getNumComments($gContent->mContentId); $gBitSmarty->assign('comments_count', $numComments); - - //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { $gBitSystem->fatalError( KernelTools::tra( "Unknown page" )); @@ -39,11 +37,11 @@ if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { $watches = null; if( !empty( $gContent->mPageId ) ) { - $event = 'wiki_page_changed'; - $watches = $gBitUser->get_event_watches($event, $gContent->mPageId); - $gBitSmarty->assign('watches', $watches); - $gBitSmarty->assign( 'pageInfo', $gContent->mInfo ); - } + $event = 'wiki_page_changed'; + $watches = $gBitUser->get_event_watches($event, $gContent->mPageId); + $gBitSmarty->assign('watches', $watches); + $gBitSmarty->assign( 'pageInfo', $gContent->mInfo ); + } // Display the template $gBitSystem->display( 'bitpackage:wiki/page_watches.tpl', null, [ 'display_mode' => 'display' ] ); |
