diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-12-02 21:33:23 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-02 21:33:30 +0100 |
commit | 5e4f28ea21f32086e28740c6689d7000c1dfd488 (patch) | |
tree | 366f87885fe74454a18c47889c2f6eb8ae0c01cf /apps | |
parent | 9c5306d9b189bed0ecfd716b1d0b3a5ee4edc02e (diff) | |
download | nextcloud-server-5e4f28ea21f32086e28740c6689d7000c1dfd488.tar.gz nextcloud-server-5e4f28ea21f32086e28740c6689d7000c1dfd488.zip |
Tasks: Fix php warnings with empty tasks list
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tasks/index.php | 1 | ||||
-rw-r--r-- | apps/tasks/templates/part.details.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php index a653326338b..d2624a1cf01 100644 --- a/apps/tasks/index.php +++ b/apps/tasks/index.php @@ -34,6 +34,7 @@ foreach( $calendars as $calendar ){ } } +$details = null; if( !is_null($id) || count($tasks)){ if(is_null($id)) $id = $tasks[0]['id']; $task = OC_Calendar_Object::find($id); diff --git a/apps/tasks/templates/part.details.php b/apps/tasks/templates/part.details.php index a6561d97be9..89636b6e762 100644 --- a/apps/tasks/templates/part.details.php +++ b/apps/tasks/templates/part.details.php @@ -38,5 +38,5 @@ endif; ?> <input type="button" id="tasks_edit" value="<?php echo $l->t('Edit');?>"> </form> <?php else: ?> -<?php var_dump($_['details']); ?> +<?php //var_dump($_['details']); ?> <?php endif ?> |