SAAS-624: Request to rest/media throws an exception if the data set is too large

Fixed small typo
This commit is contained in:
drigato 2015-03-06 09:32:14 -05:00
parent 7607888257
commit 962f5d925d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Rest_MediaController extends Zend_Rest_Controller
public function indexAction()
{
$totalFileCount = BaseCcFilesQuery::create()->count();
$totalFileCount = CcFilesQuery::create()->count();
// Check if offset and limit were sent with request.
// Default limit to zero and offset to $totalFileCount