Update of /cvsroot/tep/catalog/catalog/includes/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv5194/includes/classes
Modified Files:
message_stack.php
Log Message:
when adding a message to the messagestack session, also add it to the local
scope [adding to the session scope only occurs when a redirection is to be
made - adding it to the local scope allows the size of the message class to
be checked when appropriate]
Index: message_stack.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/includes/classes/message_stack.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- message_stack.php 4 Dec 2003 14:12:16 -0000 1.3
+++ message_stack.php 4 Dec 2003 22:56:19 -0000 1.4
@@ -46,6 +46,8 @@
$messageToStack[] = array('class' => $class, 'text' => $message, 'type'
=> $type);
$osC_Session->set('messageToStack', $messageToStack);
+
+ $this->add($class, $message, $type);
}
function reset() {
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|