Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: event.php 4546 2009-11-28 02:34:09Z RyanGordon $
| * $Id: event.php 4621 2009-12-20 19:15:38Z RyanGordon $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 255 | Zeile 255 |
---|
{ global $mybb; $event = &$this->data;
|
{ global $mybb; $event = &$this->data;
|
| if(!is_array($event['repeats']) || !$event['repeats']['repeats']) { return true; }
|
if(!$event['endtime'])
|
if(!$event['endtime'])
|
{
| {
|
$this->set_error("only_ranged_events_repeat"); return false;
|
$this->set_error("only_ranged_events_repeat"); return false;
|
}
if(!is_array($event['repeats']) || !$event['repeats']['repeats']) { return true;
| |
}
switch($event['repeats']['repeats'])
| }
switch($event['repeats']['repeats'])
|