projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b9abdd6
)
Fix [#393] [is_a(): Deprecated. Please use the instanceof operator
author
Alain Peyrat
<aljeux@free.fr>
Fri, 27 Apr 2012 15:06:40 +0000
(15:06 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Fri, 27 Apr 2012 15:06:40 +0000
(15:06 +0000)
src/common/forum/ForumMessage.class.php
patch
|
blob
|
history
diff --git
a/src/common/forum/ForumMessage.class.php
b/src/common/forum/ForumMessage.class.php
index aef0e1fd89ad2bab3e9967d96741f726b7ed7757..adc43d8961c1f0ad83daad8ef38d26c13f6ebea3 100644
(file)
--- a/
src/common/forum/ForumMessage.class.php
+++ b/
src/common/forum/ForumMessage.class.php
@@
-647,7
+647,7
@@
class ForumMessage extends Error {
}
foreach ($recipients as $recipient) {
- if (
is_a ($recipient, 'GFUser')
) {
+ if (
$recipient instanceof GFUser
) {
setup_gettext_for_user ($recipient) ;
$dest_email = $recipient->getEmail ();
} else {