navigation  interaction  search

 other resources

Changeset 441

Show
Ignore:
Timestamp:
11/22/08 14:47:28
Author:
brieb
Message:
  • Fixed problem with reports not assembling where clause appropriately.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/phpbms/report/report_class.php

    r416 r441  
    5858                                $this->sortorder = $_SESSION["printing"]["sortorder"]; 
    5959                                 
    60                         if(isset($_SESSION["printing"]["whereclause"])) 
     60                        if(isset($_SESSION["printing"]["whereclause"])){ 
     61                                 
     62                                if(strpos($_SESSION["printing"]["whereclause"],"WHERE") === 0) 
     63                                        $this->whereclause = substr($this->whereclause, 5); 
     64                                         
    6165                                $this->whereclause = $_SESSION["printing"]["whereclause"]; 
     66                                 
     67                        }//endif 
    6268                         
    6369                        //backwards compatibility 
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.