Changeset 729 for trunk/phpbms/include/print_class.php
- Timestamp:
- 01/07/10 16:01:56 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/include/print_class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/include/print_class.php
r703 r729 50 50 51 51 function printer($db,$tableid,$theids){ 52 52 53 $this->db = $db; 53 54 $this->tableid = $tableid; … … 62 63 `uuid` = '".$this->tableid."' 63 64 "; 64 $queryresult = $this->db->query($querystatement); 65 if(!$queryresult) $error = new appError(500,"Error retrieving table info."); 65 66 $queryresult = $this->db->query($querystatement); 67 66 68 $therecord = $this->db->fetchArray($queryresult); 69 67 70 $this->maintable = $therecord["maintable"]; 68 71