From d384fc6a62caeec74c1833a69f68211b42ffcbaa Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 18 Oct 2011 12:26:11 +0000 Subject: [PATCH] add default value --- application/models/EmailText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/EmailText.php b/application/models/EmailText.php index cca59a22..56f6f4c0 100644 --- a/application/models/EmailText.php +++ b/application/models/EmailText.php @@ -26,7 +26,7 @@ class EmailText{ } - public function load($body){ + public function load($body=''){ if(empty($this->tmpid)) {