summaryrefslogtreecommitdiff
path: root/bridges/WhydBridge.php
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2018-07-20 13:00:02 +0200
committerJohannes 'josch' Schauer <josch@debian.org>2018-07-20 13:00:02 +0200
commitb93b13c065aab268d0fd12ce423bd45ab203642c (patch)
tree091e6ab2bb819c299922afb9a6177286817f0039 /bridges/WhydBridge.php
parentcad54b35d336e58278a02e72d2b10b8c14acf120 (diff)
Import upstream version 2018-07-17
Diffstat (limited to 'bridges/WhydBridge.php')
-rw-r--r--bridges/WhydBridge.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/WhydBridge.php b/bridges/WhydBridge.php
index accdb75..347db6e 100644
--- a/bridges/WhydBridge.php
+++ b/bridges/WhydBridge.php
@@ -18,10 +18,10 @@ class WhydBridge extends BridgeAbstract {
public function collectData(){
$html = '';
- if(strlen(preg_replace("/[^0-9a-f]/", '', $this->getInput('u'))) == 24) {
+ if(strlen(preg_replace('/[^0-9a-f]/', '', $this->getInput('u'))) == 24) {
// is input the userid ?
$html = getSimpleHTMLDOM(
- self::URI . 'u/' . preg_replace("/[^0-9a-f]/", '', $this->getInput('u'))
+ self::URI . 'u/' . preg_replace('/[^0-9a-f]/', '', $this->getInput('u'))
) or returnServerError('No results for this query.');
} else { // input may be the username
$html = getSimpleHTMLDOM(