Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class
In directory sc8-pr-cvs1:/tmp/cvs-serv17172/class
Modified Files:
Message.php
Log Message:
Default reply topic to "Re: <thread topic>"
Index: Message.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Message.php 4 Jun 2003 21:39:42 -0000 1.17
--- Message.php 4 Jun 2003 21:53:38 -0000 1.18
***************
*** 111,114 ****
--- 111,120 ----
$GLOBALS["CNT_phpwsbb"]["content"] .= $message;
return;
+ } else {
+ // Default topic to re: current topic
+ if(is_null($this->getLabel())) {
+ $label = "Re: " . $thread->getLabel();
+ $this->setLabel($label);
+ }
}
}
|