summaryrefslogtreecommitdiff
path: root/watches.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-29 13:18:39 +0100
committerlsces <lester@lsces.co.uk>2025-08-29 13:18:39 +0100
commitd388cface6a2f2bc7368fa21d8cb6be2e7179f27 (patch)
treeef3403eb08c68bc333061f224a61775899a98295 /watches.php
parentc32ecb5a1051f7c23f25219805af49a348e111c3 (diff)
downloadusers-d388cface6a2f2bc7368fa21d8cb6be2e7179f27.tar.gz
users-d388cface6a2f2bc7368fa21d8cb6be2e7179f27.tar.bz2
users-d388cface6a2f2bc7368fa21d8cb6be2e7179f27.zip
General tools updated to PHP8.4 and namespace
Diffstat (limited to 'watches.php')
-rwxr-xr-x[-rw-r--r--]watches.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/watches.php b/watches.php
index 66a3616..61d5346 100644..100755
--- a/watches.php
+++ b/watches.php
@@ -15,7 +15,7 @@ include_once( '../kernel/includes/setup_inc.php' );
$user = $gBitUser->mUserId;
if (!$user) {
$gBitSmarty->assign('msg', tra("You must log in to use this feature"));
- $gBitSystem->display( 'error.tpl' , NULL, array( 'display_mode' => 'display' ));
+ $gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'display' ));
die;
}
@@ -41,5 +41,5 @@ if (!isset($_REQUEST['event']))
$watches = $gBitUser->getWatches( $_REQUEST['event'] );
$gBitSmarty->assign('watches', $watches);
-$gBitSystem->display( 'bitpackage:users/user_watches.tpl', NULL, array( 'display_mode' => 'display' ));
+$gBitSystem->display( 'bitpackage:users/user_watches.tpl', null, array( 'display_mode' => 'display' ));
?>