Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: comment: Replace eregi with stripos
Alexander Nicolaysen Sørnes
asornes at winehq.org
Sun Jan 12 11:07:19 CST 2014
Module: appdb
Branch: master
Commit: 59a5b978e8c1e9bb49966c2f7513cf25dcac333c
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=59a5b978e8c1e9bb49966c2f7513cf25dcac333c
Author: Alexander Nicolaysen Sørnes <alexsornes at 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;
More information about the wine-cvs
mailing list