[pLog-svn] r7193 - plugins/branches/lifetype-1.2/contact/class/action
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed May 30 21:00:28 EDT 2012
Author: jondaley
Date: 2012-05-30 21:00:28 -0400 (Wed, 30 May 2012)
New Revision: 7193
Modified:
plugins/branches/lifetype-1.2/contact/class/action/contactpluginsendaction.class.php
Log:
give the email a default subject if none given
Modified: plugins/branches/lifetype-1.2/contact/class/action/contactpluginsendaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/contact/class/action/contactpluginsendaction.class.php 2012-05-31 00:57:57 UTC (rev 7192)
+++ plugins/branches/lifetype-1.2/contact/class/action/contactpluginsendaction.class.php 2012-05-31 01:00:28 UTC (rev 7193)
@@ -82,6 +82,9 @@
$this->setCommonData();
return false;
}
+
+ if(!$subject)
+ $subject = $this->_locale->tr("comment_default_title");
$postText = $this->_locale->pr("plugin_contact_contact_from",
"$username <$emailAddress>");
More information about the pLog-svn
mailing list