From 962f5d925d187a3bfaae4e96f7a62733559627d0 Mon Sep 17 00:00:00 2001 From: drigato Date: Fri, 6 Mar 2015 09:32:14 -0500 Subject: [PATCH] SAAS-624: Request to rest/media throws an exception if the data set is too large Fixed small typo --- .../application/modules/rest/controllers/MediaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/modules/rest/controllers/MediaController.php b/airtime_mvc/application/modules/rest/controllers/MediaController.php index 6a116c13f..5f41162ef 100644 --- a/airtime_mvc/application/modules/rest/controllers/MediaController.php +++ b/airtime_mvc/application/modules/rest/controllers/MediaController.php @@ -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