Changeset 6565
- Timestamp:
- 09/04/08 14:47:28 (3 months ago)
- Files:
-
- freepbx/branches/2.3 (modified) (1 prop)
- freepbx/branches/2.3/amp_conf/htdocs/recordings/modules/callmonitor.module (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.3
- Property svnmerge-integrated changed from /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/branches/2.4:1-5454,5492,5517,5648,5656,5710,5828,6057 to /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/branches/2.4:1-5454,5492,5517,5648,5656,5710,5828,6057,6564
freepbx/branches/2.3/amp_conf/htdocs/recordings/modules/callmonitor.module
r4972 r6565 202 202 203 203 // table body 204 foreach($data as $key=>$value) {204 if (is_array($data)) foreach($data as $key=>$value) { 205 205 206 206 // recording file … … 383 383 } 384 384 385 foreach($data as $data_key => $data_value) {385 if (is_array($data)) foreach($data as $data_key => $data_value) { 386 386 387 387 $recording=''; … … 545 545 // search text 546 546 if ($q!='*' && $q!=NULL) { 547 548 $dbh = $_SESSION['dbh_cdr']; 547 549 $searchText .= "WHERE "; 548 550 $tok = strtok($q," \n\t"); 551 $tok = $dbh->escapeSimple($tok); 549 552 while ($tok) { 550 553 $searchText .= " (calldate regexp '" . $tok . "' … … 560 563 )"; 561 564 $tok = strtok(" \n\t"); 565 $tok = $dbh->escapeSimple($tok); 562 566 if ($tok) { 563 567 $searchText .= " AND";
