From: Cindy Li Date: Fri, 20 Aug 2010 13:32:06 +0000 (-0000) Subject: fix indentation X-Git-Tag: v1.0~29 X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=acontent.git;a=commitdiff_plain;h=be9076ce27dca05d65b957140f09cc8ee2d1ea39 fix indentation --- diff --git a/docs/home/ims/ims_import.php b/docs/home/ims/ims_import.php index 4d65a1c..9a66f19 100644 --- a/docs/home/ims/ims_import.php +++ b/docs/home/ims/ims_import.php @@ -1545,11 +1545,11 @@ if(is_array($all_package_base_path)){ if(strpos($all_package_base_path, 'http:/')===false){ if (@rename($import_path.$all_package_base_path, TR_CONTENT_DIR .$_course_id.'/'.$package_base_name) === false) { if (!$msg->containsErrors()) { - if ($oauth_import) { - echo "error=".urlencode('Cannot move lesson directory into content directory'); - } else { - $msg->addError('IMPORT_FAILED'); - } + if ($oauth_import) { + echo "error=".urlencode('Cannot move lesson directory into content directory'); + } else { + $msg->addError('IMPORT_FAILED'); + } } } }