Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Massimiliano
ISPConfig 3
Commits
7ae5b04f
Commit
7ae5b04f
authored
Nov 29, 2013
by
Marius Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wrong argument passing method in alias query functions
parent
bd8b728a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
interface/lib/classes/db_mysql.inc.php
interface/lib/classes/db_mysql.inc.php
+4
-4
server/lib/classes/db_mysql.inc.php
server/lib/classes/db_mysql.inc.php
+5
-5
No files found.
interface/lib/classes/db_mysql.inc.php
View file @
7ae5b04f
...
...
@@ -264,11 +264,11 @@ class db extends mysqli
}
public
function
queryOne
(
$sQuery
=
''
)
{
return
$this
->
query
_one
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
query
OneRecord'
),
func_get_args
()
);
}
public
function
query_one
(
$sQuery
=
''
)
{
return
$this
->
queryOneRecord
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryOneRecord
'
),
func_get_args
()
);
}
/**
...
...
@@ -297,11 +297,11 @@ class db extends mysqli
}
public
function
queryAll
(
$sQuery
=
''
)
{
return
$this
->
queryAllRecords
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryAllRecords
'
),
func_get_args
()
);
}
public
function
query_all
(
$sQuery
=
''
)
{
return
$this
->
queryAllRecords
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryAllRecords
'
),
func_get_args
()
);
}
/**
...
...
server/lib/classes/db_mysql.inc.php
View file @
7ae5b04f
...
...
@@ -269,11 +269,11 @@ class db extends mysqli
}
public
function
queryOne
(
$sQuery
=
''
)
{
return
$this
->
query
_one
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
query
OneRecord'
),
func_get_args
()
);
}
public
function
query_one
(
$sQuery
=
''
)
{
return
$this
->
queryOneRecord
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryOneRecord
'
),
func_get_args
()
);
}
/**
...
...
@@ -302,11 +302,11 @@ class db extends mysqli
}
public
function
queryAll
(
$sQuery
=
''
)
{
return
$this
->
queryAllRecords
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryAllRecords
'
),
func_get_args
()
);
}
public
function
query_all
(
$sQuery
=
''
)
{
return
$this
->
queryAllRecords
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryAllRecords
'
),
func_get_args
()
);
}
/**
...
...
@@ -335,7 +335,7 @@ class db extends mysqli
}
public
function
query_all_array
(
$sQuery
=
''
)
{
return
$this
->
queryAllArray
(
$sQuery
);
return
call_user_func_array
(
array
(
&
$this
,
'
queryAllArray
'
),
func_get_args
()
);
}
...
...
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