Module: appdb Branch: master Commit: 59a5b978e8c1e9bb49966c2f7513cf25dcac333c URL: http://source.winehq.org/git/appdb.git/?a=commit;h=59a5b978e8c1e9bb49966c2f7...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 17:56:09 2014 +0100
comment: Replace eregi with stripos
---
include/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/comment.php b/include/comment.php index a364d76..21c6a14 100644 --- a/include/comment.php +++ b/include/comment.php @@ -835,7 +835,7 @@ class Comment { if(!$this->sSubject) { // Only add RE: once - if(eregi("RE:", $oRow->subject)) + if(stripos($oRow->subject, "RE:") !== false) $this->sSubject = $oRow->subject; else $this->sSubject = "RE: ".$oRow->subject;