Changeset 5915 for trunk/phpgwapi
- Timestamp:
- 04/11/12 12:25:36 (12 years ago)
- Location:
- trunk/phpgwapi/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.network.inc.php
r5912 r5915 164 164 } 165 165 $response = $this->read_port(); 166 if(!preg_match( '/'.strtoupper($expected_response).'/',strtoupper($response)))166 if(!preg_match(strtoupper("/$expected_response/"),strtoupper($response))) 167 167 { 168 168 if(substr($expected_response,1,1) == '+') -
trunk/phpgwapi/inc/class.xml.inc.php
r5912 r5915 2749 2749 2750 2750 // Check whether the first string starts with the second one. 2751 if ( preg_match( '/'.$second.'/', $first) )2751 if ( preg_match("/$second/", $first) ) 2752 2752 { 2753 2753 // Return true.
Note: See TracChangeset
for help on using the changeset viewer.