summaryrefslogtreecommitdiff
path: root/include/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
commita42c55f02b7e313ab61bf826794d0888f2dceae1 (patch)
tree7946572f0e45015a0b54830bd1296be548584ed8 /include/db.php
parent72ff0137298f60970c664f0be24327b120bf4ac7 (diff)
fix blank character after opening bracket in function calls
Diffstat (limited to 'include/db.php')
-rw-r--r--include/db.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/db.php b/include/db.php
index 72c78474a..55d1d654e 100644
--- a/include/db.php
+++ b/include/db.php
@@ -1,10 +1,10 @@
<?php
-function db_escape_string( $s, $strip_tags = true) {
+function db_escape_string($s, $strip_tags = true) {
return Db::get()->escape_string($s, $strip_tags);
}
-function db_query( $query, $die_on_error = true) {
+function db_query($query, $die_on_error = true) {
return Db::get()->query($query, $die_on_error);
}
@@ -21,7 +21,7 @@ function db_fetch_result($result, $row, $param) {
return Db::get()->fetch_result($result, $row, $param);
}
-function db_affected_rows( $result) {
+function db_affected_rows($result) {
return Db::get()->affected_rows($result);
}