summaryrefslogtreecommitdiffstats
path: root/lib/MDB2/Driver/Function
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
commitafadf93d317e27fd848f1e70d5849169f862aed9 (patch)
tree4a9ed633a7735a1be3cf33fdad31ab981fd64a6b /lib/MDB2/Driver/Function
parentd9e97610999ddf9f3a060b786f22d0abb054521e (diff)
downloadnextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.tar.gz
nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.zip
Checkstyle: many fixes
Diffstat (limited to 'lib/MDB2/Driver/Function')
-rw-r--r--lib/MDB2/Driver/Function/sqlite3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDB2/Driver/Function/sqlite3.php b/lib/MDB2/Driver/Function/sqlite3.php
index 0bddde5bf3f..4147a48199f 100644
--- a/lib/MDB2/Driver/Function/sqlite3.php
+++ b/lib/MDB2/Driver/Function/sqlite3.php
@@ -92,7 +92,7 @@ class MDB2_Driver_Function_sqlite3 extends MDB2_Driver_Function_Common
function substring($value, $position = 1, $length = null)
{
if (!is_null($length)) {
- return "substr($value,$position,$length)";
+ return "substr($value, $position, $length)";
}
return "substr($value, $position, length($value))";
}