diff --git a/application/third_party/tpmanage/controllers/webgetbokun.php b/application/third_party/tpmanage/controllers/webgetbokun.php
index 902dc81b..7458652b 100644
--- a/application/third_party/tpmanage/controllers/webgetbokun.php
+++ b/application/third_party/tpmanage/controllers/webgetbokun.php
@@ -83,8 +83,12 @@ class webgetbokun extends CI_Controller
$strContent = "";
foreach ($arrContent as $ContentItem) {
$strTemp = "";
+ $strDay = "";
+ if ($ContentItem->day!=1){
+ $strDay = "(day ".$ContentItem->day.")";
+ }
if ($ContentItem->title != "") {
- $strTemp .= "
" . $ContentItem->title . "
";
+ $strTemp .= "" . $ContentItem->title.$strDay. "
";
}
if ($ContentItem->body != "") {
$strTemp .= $ContentItem->body;
@@ -241,7 +245,9 @@ class webgetbokun extends CI_Controller
if ($agendaItem->keyPhoto != null && $agendaItem->keyPhoto != "") {
$this->InfoBokunData_model->ibd_ItemName = "AgendaPhoto";
$this->InfoBokunData_model->ibd_Itemvalue = $agendaItem->keyPhoto->originalUrl;
- $this->InfoBokunData_model->ibd_ItemDescription = $$agendaItem->keyPhoto->description;
+ if (isset($$agendaItem->keyPhoto->description)){
+ $this->InfoBokunData_model->ibd_ItemDescription = $$agendaItem->keyPhoto->description;
+ }
$this->InfoBokunData_model->ibd_ItemType = "originalUrl";
$this->InfoBokunData_model->Add();
}
@@ -254,7 +260,10 @@ class webgetbokun extends CI_Controller
$this->InfoBokunData_model->ibd_ItemName = "AgendaPhoto";
$this->InfoBokunData_model->ibd_Itemvalue = $agendaPhotoItem->originalUrl;
$this->InfoBokunData_model->ibd_ItemType = "originalUrl";
- $this->InfoBokunData_model->ibd_ItemDescription = $agendaPhotoItem->description;
+ if (isset($agendaPhotoItem->description)){
+ $this->InfoBokunData_model->ibd_ItemDescription = $agendaPhotoItem->description;
+ }
+
$this->InfoBokunData_model->Add();
}
}