summaryrefslogtreecommitdiff
path: root/change_password.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:55:19 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:55:19 +0100
commit513bc9e03522f0bfc0e307a8e40a517e746de2bc (patch)
treebed44d24c1ef1ee8d3801b74fe0fac68e1f779f4 /change_password.php
parent70ebf6a972f511a904a7775ec792dc2523bf3e13 (diff)
downloadusers-513bc9e03522f0bfc0e307a8e40a517e746de2bc.tar.gz
users-513bc9e03522f0bfc0e307a8e40a517e746de2bc.tar.bz2
users-513bc9e03522f0bfc0e307a8e40a517e746de2bc.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'change_password.php')
-rwxr-xr-xchange_password.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/change_password.php b/change_password.php
index 97472a8..2f69c38 100755
--- a/change_password.php
+++ b/change_password.php
@@ -32,7 +32,7 @@ $gBitSmarty->assign( 'login', $_REQUEST['login'] );
$gBitSmarty->assign( 'oldpass', $_REQUEST["oldpass"] );
$gBitSmarty->assign( 'provpass', $_REQUEST["provpass"] );
-$userInfo = $gBitUser->getUserInfo( array( 'user_id' => $_REQUEST['user_id'] ));
+$userInfo = $gBitUser->getUserInfo( [ 'user_id' => $_REQUEST['user_id'] ]);
$gBitSmarty->assign( 'userInfo', $userInfo );
if( isset( $_REQUEST["change"] )) {
@@ -75,4 +75,4 @@ if( isset( $_REQUEST["change"] )) {
}
// Display the template
-$gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Change Password' , array( 'display_mode' => 'display' ));
+$gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Change Password' , [ 'display_mode' => 'display' ]);