Merge pull request #2114 from jthomerson/fix_minor_typos

MINOR: fix a couple minor typos
This commit is contained in:
Simon Welsh 2013-06-18 13:17:48 -07:00
commit 05b6fd3536
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ chdir(dirname($_SERVER['SCRIPT_FILENAME']));
* For example,
* sake my/url somearg otherarg key=val --otherkey=val third=val&fourth=val
*
* Will result int he following get data:
* Will result in the following get data:
* args => array('somearg', 'otherarg'),
* key => val
* otherkey => val

View File

@ -931,7 +931,7 @@ class MySQLDatabase extends SS_Database {
$list = new PaginatedList(new ArrayList($objects));
$list->setPageStart($start);
$list->setPageLEngth($pageLength);
$list->setPageLength($pageLength);
$list->setTotalItems($totalCount);
// The list has already been limited by the query above