]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16520 - better handling of resuming exports in portfolio
authormjollnir_ <mjollnir_>
Tue, 16 Sep 2008 19:02:30 +0000 (19:02 +0000)
committermjollnir_ <mjollnir_>
Tue, 16 Sep 2008 19:02:30 +0000 (19:02 +0000)
portfolio/already.php

index 668bec580f90d2d420aef69c6f6edfbdfc2cafa1..483d71b915df10ca43e43e28533759a3f0886924 100644 (file)
@@ -27,7 +27,7 @@ if ($dataid) {
         $exporter->verify_rewaken();
         $table->data[] = array(
             $exporter->get('caller')->display_name(),
-            $exporter->get('instance')->get('name'),
+            ($exporter->get('instance') ? $exporter->get('instance')->get('name') : get_string('notyetselected', 'portfolio')),
             $exporter->get('caller')->heading_summary(),
         );
     } catch (portfolio_exception $e) { }