Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/UsersController.php')
-rw-r--r--src/controllers/UsersController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controllers/UsersController.php b/src/controllers/UsersController.php
index 0786d961..a03ca6d4 100644
--- a/src/controllers/UsersController.php
+++ b/src/controllers/UsersController.php
@@ -204,7 +204,7 @@ class UsersController extends BaseController
$this->printTabs('server', 'account');
$this->printMsg($msg);
- if (0 < $userdata->recordCount()) {
+ if (0 < $userdata->RecordCount()) {
$userdata->fields['usesuper'] = $data->phpBool($userdata->fields['usesuper']);
$userdata->fields['usecreatedb'] = $data->phpBool($userdata->fields['usecreatedb']);
echo '<table>' . \PHP_EOL;
@@ -334,7 +334,7 @@ class UsersController extends BaseController
$userdata = $data->getUser($_REQUEST['username']);
- if (!\is_object($userdata) || 0 < $userdata->recordCount()) {
+ if (!\is_object($userdata) || 0 < $userdata->RecordCount()) {
$server_info = $this->misc->getServerInfo();
$canRename = $data->hasUserRename() && ($_REQUEST['username'] !== $server_info['username']);
$userdata->fields['usesuper'] = $data->phpBool($userdata->fields['usesuper'] ?? false);