Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
fcbaf45a
Commit
fcbaf45a
authored
Jul 18, 2016
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
дамп параметров
parent
cc58c4da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
MySQLi.php
DB/MySQLi.php
+2
-1
No files found.
DB/MySQLi.php
View file @
fcbaf45a
...
@@ -335,7 +335,8 @@ class X_DB_MySQLi {
...
@@ -335,7 +335,8 @@ class X_DB_MySQLi {
*/
*/
public
function
delete_in
(
$table
,
$column
,
$data
)
{
public
function
delete_in
(
$table
,
$column
,
$data
)
{
if
(
!
is_array
(
$data
))
{
if
(
!
is_array
(
$data
))
{
throw
new
XDatabaseParamError
(
"Param 'data' must have type array in function 'db->delete_in( string table, sting column, array data)'"
,
0
);
throw
new
XDatabaseParamError
(
"Param 'data' must have type array in function 'db->delete_in( string table, sting column, array data)'"
,
0
,
[
"table"
=>
$table
,
"column"
=>
$column
,
"data"
=>
$data
]);
}
}
if
(
!
(
count
(
$data
)
>
0
))
{
if
(
!
(
count
(
$data
)
>
0
))
{
...
...
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