summaryrefslogtreecommitdiffstats
path: root/lib/MDB2/Driver/Function/sqlite3.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-11-02 14:59:36 -0700
committerLukas Reschke <lukas@statuscode.ch>2012-11-02 14:59:36 -0700
commitfd584f446dabb1d3727a932cd5f4dbaafe63f0b8 (patch)
tree17efc1c42c3e844b69c9c19f6eba1b4cbd16f5e0 /lib/MDB2/Driver/Function/sqlite3.php
parent2dbf2c69deaf2bb8bdf02d4539756f8f6d2b9738 (diff)
parentafadf93d317e27fd848f1e70d5849169f862aed9 (diff)
downloadnextcloud-server-fd584f446dabb1d3727a932cd5f4dbaafe63f0b8.tar.gz
nextcloud-server-fd584f446dabb1d3727a932cd5f4dbaafe63f0b8.zip
Merge pull request #220 from fmms/checkstyle02
Checkstyle: many fixes
Diffstat (limited to 'lib/MDB2/Driver/Function/sqlite3.php')
-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))";
}