Skip to content
Snippets Groups Projects
Commit e953d337 authored by Satish's avatar Satish
Browse files

Fixes #677 - Spelling mistake in EmailTemplates/views/Popup.php

parent 134b116e
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class EmailTemplates_ListView_Model extends Vtiger_ListView_Model {
private $querySelectColumns = array('templatename, foldername, subject', 'systemtemplate', 'module', 'description');
private $listViewColumns = array('templatename', 'subject', 'description', 'module');
public function addColumnToSelectCaluse($columName) {
public function addColumnToSelectClause($columName) {
if (!is_array($columName))
$columNameList = array($columName);
else
......
......@@ -33,7 +33,7 @@ class EmailTemplates_Popup_View extends Vtiger_Popup_View {
$listViewModel = EmailTemplates_ListView_Model::getInstance($moduleName, $cvId);
//add body to select clause so that we can retrive data after click in the popup
$listViewModel->addColumnToSelectCaluse('body');
$listViewModel->addColumnToSelectClause('body');
$linkParams = array('MODULE' => $moduleName, 'ACTION' => $request->get('view'), 'CVID' => $cvId);
$linkModels = $listViewModel->getListViewMassActions($linkParams);
$pagingModel = new Vtiger_Paging_Model();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment