aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SemanticScuttle/db/mysqli.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/db/mysqli.php b/src/SemanticScuttle/db/mysqli.php
index 03b36ea..9a2709a 100644
--- a/src/SemanticScuttle/db/mysqli.php
+++ b/src/SemanticScuttle/db/mysqli.php
@@ -50,7 +50,7 @@ class sql_db
}
}
- return $this->sql_error('');
+ return $this->sql_error(mysqli_connect_error());
}
//