Changeset 5884 for OpenPNE/trunk
- Timestamp:
- Mar 19, 2008, 10:33:08 PM (15 years ago)
- Location:
- OpenPNE/trunk/webapp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/lib/db/commu.php
r5283 r5884 2593 2593 'r_date' => db_now(), 2594 2594 ); 2595 2595 2596 if ($GLOBALS['_OPENPNE_DSN_LIST']['main']['dsn']['phptype'] == 'pgsql') { 2596 2597 $open_date = '0000-01-01'; 2597 2598 $invite_period = '0000-01-01'; 2598 if (isset($topic['open_date']) && $topic['open_date'] != '') {2599 $open_date = $topic['open_date'];2600 }2601 2602 if (isset($topic['invite_period']) && $topic['invite_period'] != '') {2603 $invite_period = $topic['invite_period'];2604 }2605 2599 } else { 2600 $open_date = '0000-00-00'; 2601 $invite_period = '0000-00-00'; 2602 } 2603 2604 if (isset($topic['open_date']) && $topic['open_date']) { 2606 2605 $open_date = $topic['open_date']; 2606 } 2607 2608 if (isset($topic['invite_period']) && $topic['invite_period']) { 2607 2609 $invite_period = $topic['invite_period']; 2608 2610 } 2611 2609 2612 if ($data['event_flag']) { 2610 2613 $data += array( -
OpenPNE/trunk/webapp/modules/pc/do/c_event_add_insert_c_commu_topic.php
r5881 r5884 72 72 if ($event['invite_period_year'].$event['invite_period_month'].$event['invite_period_day']!="") { 73 73 $invite_period = $event['invite_period_year']."-".$event['invite_period_month']."-".$event['invite_period_day']; 74 } else {75 $invite_period = "0000-00-00";76 74 } 77 75
Note: See TracChangeset
for help on using the changeset viewer.