Skip to main content
Topic: sqltext in controller for Custom View is missing DOUBLE QUOTES (Read 1176 times) previous topic - next topic

sqltext in controller for Custom View is missing DOUBLE QUOTES

Bug Report for
Variable $sqltext in Controller for Custom View is missing opening and closing  DOUBLE QUOTES.


<?php
/**
 * CustomViewTEST Page Controller
 * @category  Controller
 */
class CustomViewTESTController extends SecureController{
   /**
     * Custom Load Record Action
     * @return View
     */
   function index(){
      $db = $this->GetModel();
      $sqltext = "   select SQL_CALC_FOUND_ROWS  id, field1, fiel2 from table1   " ;