Update of /cvsroot/phpwsbb/phpwsbb/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32250/class
Modified Files:
Message.php
Log Message:
Disabled the option to send a private message to yourself. Bug Report [1038253]
Index: Message.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -d -r1.67 -r1.68
*** Message.php 25 Sep 2004 04:46:03 -0000 1.67
--- Message.php 3 Oct 2004 03:13:40 -0000 1.68
***************
*** 143,147 ****
$posteremail = $this->_guestemail;
} else {
! if ($_SESSION['OBJ_user']->username) {
if ($GLOBALS['core']->moduleExists('notes')) {
$notesinfo = PHPWS_Boost::getVersionInfo('notes');
--- 143,147 ----
$posteremail = $this->_guestemail;
} else {
! if ($_SESSION['OBJ_user']->username && $_SESSION['OBJ_user']->username!=$this->getOwner()) {
if ($GLOBALS['core']->moduleExists('notes')) {
$notesinfo = PHPWS_Boost::getVersionInfo('notes');
|