mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-17 21:43:11 +01:00
12 lines
376 B
PHP
12 lines
376 B
PHP
<?php
|
|
//Code to be executed before a start activity
|
|
// If we didn't retrieve the instance before
|
|
if(empty($instance->instanceId) && isset($_REQUEST['iid'])) {
|
|
// in case we're looping back to a start activity, we need to retrieve the instance
|
|
$instance->getInstance($_REQUEST['iid']);
|
|
} else {
|
|
// otherwise we'll create an instance when this activity is completed
|
|
}
|
|
|
|
?>
|