From 7db3def1243f452b4fd0657019a5c65914ac326a Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Tue, 5 Feb 2013 15:36:39 +0100 Subject: [PATCH] Fix undefined function bug --- h5p.classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 06e76bb..62b17c8 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -731,10 +731,10 @@ class h5pCore { while (false !== ($file = readdir($dir))) { if (($file != '.') && ($file != '..')) { if (is_dir($source . '/' . $file)) { - copyTree($source . '/' . $file, $destination . '/' . $file); + $this->copyTree($source . '/' . $file, $destination . '/' . $file); } else { - copy($source . '/' . $file,$destination . '/' . $file); + copy($source . '/' . $file,$destination . '/' . $file); } } }