1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-11-23 11:22:22 +03:00

two small bugfixes:

- syntax error
- fix commentation marks

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@944 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Sebastian
2011-02-05 10:54:59 +00:00
parent fb6ee0ea9a
commit d3e68fdc8a
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ class Model {
$w = $parameters['where']; # where = array('column', 'value' )
$sql .= " WHERE $w[0] = $w[1]";
} elseif ( array_key_exists('limit', $parameter ) ) {
$l = $parameter['limit'] # limit = array(start, length)
$l = $parameter['limit']; # limit = array(start, length)
$sql .= " LIMIT $l[0], $l[1]";
}