From 2e6a355ddb66952f0c3e6827c0ab75c0b645af1b Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Thu, 11 Sep 2008 13:38:22 +0000 Subject: [PATCH] MDL-15760 - fix teeny notice-causing bug in box.net portfolio plugin --- portfolio/type/boxnet/lib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/portfolio/type/boxnet/lib.php b/portfolio/type/boxnet/lib.php index b4cf4e5235..94ae3ce179 100644 --- a/portfolio/type/boxnet/lib.php +++ b/portfolio/type/boxnet/lib.php @@ -20,7 +20,7 @@ class portfolio_plugin_boxnet extends portfolio_plugin_push_base { if (!$created = $this->boxclient->createFolder($newfolder, array('share' => 0))) { throw new portfolio_plugin_exception('foldercreatefailed', 'portfolio_boxnet'); } - $this->folders[$created['folder_id']] = $created['folder_type']; + $this->folders[$created['folder_id']] = $created['folder_name']; $this->set_export_config(array('folder' => $created['folder_id'])); } return true; // don't do anything else for this plugin, we want to send all files as they are. @@ -189,8 +189,6 @@ class portfolio_plugin_boxnet extends portfolio_plugin_push_base { if (!is_array($this->accounttree)) { return false; } - - } private function get_folder_list() { -- 2.39.5