Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Game Over!
ISPConfig 3
Commits
cb52d1b1
Commit
cb52d1b1
authored
Aug 06, 2017
by
Marius Burkard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed PHP warnings about class constuctors (mentioned in #4750) fixes #4752
parent
c67b6cef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
interface/lib/classes/db_mysql.inc.php
interface/lib/classes/db_mysql.inc.php
+2
-2
server/lib/classes/db_mysql.inc.php
server/lib/classes/db_mysql.inc.php
+2
-2
No files found.
interface/lib/classes/db_mysql.inc.php
View file @
cb52d1b1
...
...
@@ -1031,7 +1031,7 @@ class db_result {
*
* @access private
*/
public
function
db_resul
t
(
$iResId
,
$iConnection
)
{
public
function
__construc
t
(
$iResId
,
$iConnection
)
{
$this
->
_iResId
=
$iResId
;
$this
->
_iConnection
=
$iConnection
;
}
...
...
@@ -1157,7 +1157,7 @@ class fakedb_result {
*
* @access private
*/
public
function
fakedb_resul
t
(
$aData
)
{
public
function
__construc
t
(
$aData
)
{
$this
->
aResultData
=
$aData
;
$this
->
aLimitedData
=
$aData
;
reset
(
$this
->
aLimitedData
);
...
...
server/lib/classes/db_mysql.inc.php
View file @
cb52d1b1
...
...
@@ -983,7 +983,7 @@ class db_result {
*
* @access private
*/
public
function
db_resul
t
(
$iResId
,
$iConnection
)
{
public
function
__construc
t
(
$iResId
,
$iConnection
)
{
$this
->
_iResId
=
$iResId
;
$this
->
_iConnection
=
$iConnection
;
}
...
...
@@ -1109,7 +1109,7 @@ class fakedb_result {
*
* @access private
*/
public
function
fakedb_resul
t
(
$aData
)
{
public
function
__construc
t
(
$aData
)
{
$this
->
aResultData
=
$aData
;
$this
->
aLimitedData
=
$aData
;
reset
(
$this
->
aLimitedData
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment