Changeset 5885 for OpenPNE/trunk
- Timestamp:
- Mar 19, 2008, 11:38:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/lib/db/commu.php
r5884 r5885 2505 2505 'r_date' => db_now(), 2506 2506 ); 2507 2507 2508 if ($GLOBALS['_OPENPNE_DSN_LIST']['main']['dsn']['phptype'] == 'pgsql') { 2508 2509 $open_date = '0000-01-01'; 2509 2510 $invite_period = '0000-01-01'; 2510 if (isset($topic['open_date']) && $topic['open_date'] != '') {2511 $open_date = $topic['open_date'];2512 }2513 2514 if (isset($topic['invite_period']) && $topic['invite_period'] != '') {2515 $invite_period = $topic['invite_period'];2516 }2517 2511 } else { 2512 $open_date = '0000-00-00'; 2513 $invite_period = '0000-00-00'; 2514 } 2515 2516 if (isset($topic['open_date']) && $topic['open_date']) { 2518 2517 $open_date = $topic['open_date']; 2518 } 2519 2520 if (isset($topic['invite_period']) && $topic['invite_period']) { 2519 2521 $invite_period = $topic['invite_period']; 2520 2522 } 2523 2521 2524 if ($data['event_flag']) { 2522 2525 $data += array(
Note: See TracChangeset
for help on using the changeset viewer.