|
From: <var...@us...> - 2021-06-24 12:48:16
|
Revision: 10323
http://sourceforge.net/p/phpwiki/code/10323
Author: vargenau
Date: 2021-06-24 12:48:16 +0000 (Thu, 24 Jun 2021)
Log Message:
-----------
Non-static method _PassUser::getAuthDbh() should not be called statically
Modified Paths:
--------------
trunk/lib/WikiGroup.php
Modified: trunk/lib/WikiGroup.php
===================================================================
--- trunk/lib/WikiGroup.php 2021-06-24 10:30:58 UTC (rev 10322)
+++ trunk/lib/WikiGroup.php 2021-06-24 12:48:16 UTC (rev 10323)
@@ -268,7 +268,8 @@
}
/* WikiDB users from prefs (not from users): */
- $dbi = _PassUser::getAuthDbh();
+ $user = new _PassUser();
+ $dbi = $user->getAuthDbh();
if ($dbi and $dbh->getAuthParam('pref_select')) {
//get prefs table
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|