Incremental changes

namespaces
Svein-Tore Griff With 2012-12-01 10:54:15 +01:00
parent b3caa84446
commit 655a8cd144
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class h5pSaver {
} }
public function savePackage($contentId) { public function savePackage($contentId) {
foreach ($this->h5pC->librariesJsonData as $key => $value) { foreach ($this->h5pC->librariesJsonData as $key => &$value) {
if (!$this->h5pF->isStoredLibrary($key, key($value))) { if (!$this->h5pF->isStoredLibrary($key, key($value))) {
$current_path = $this->h5pF->getUploadedH5pFolderPath() . DIRECTORY_SEPARATOR . $key; $current_path = $this->h5pF->getUploadedH5pFolderPath() . DIRECTORY_SEPARATOR . $key;
$destination_path = $this->h5pF->getH5pPath() . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . $key; $destination_path = $this->h5pF->getH5pPath() . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . $key;