Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -1493,9 +1493,9 @@ |
1494 | 1494 | * Escape string for safe LIKE usage |
1495 | 1495 | */ |
1496 | 1496 | function escapeLike( $s ) { |
1497 | | - $s=str_replace('\\','\\\\',$s); |
1498 | | - $s=$this->strencode( $s ); |
1499 | | - $s=str_replace(array('%','_'),array('\%','\_'),$s); |
| 1497 | + $s = str_replace( '\\', '\\\\', $s ); |
| 1498 | + $s = $this->strencode( $s ); |
| 1499 | + $s = str_replace( array( '%', '_' ), array( '\%', '\_' ), $s ); |
1500 | 1500 | return $s; |
1501 | 1501 | } |
1502 | 1502 | |