Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-24403 Fixing the print_error() calls to use the existing string

  • Loading branch information...
commit 516878be1ec8696e26668b54ada1335fa0f666b1 1 parent cf81547
@mudrd8mz mudrd8mz authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  files/index.php
  2. +1 −1  lib/editor/htmlarea/coursefiles.php
View
2  files/index.php
@@ -539,7 +539,7 @@ function set_value(txt) {
$file = basename($file);
if (!unzip_file("$basedir$wdir/$file")) {
- print_error("unzipfileserror","error");
+ print_error("cannotunzipfile", "error");
}
echo "<div style=\"text-align:center\"><form action=\"index.php\" method=\"get\">";
View
2  lib/editor/htmlarea/coursefiles.php
@@ -495,7 +495,7 @@ function reset_value() {
$file = basename($file);
if (!unzip_file("$basedir/$wdir/$file")) {
- print_error("unzipfileserror","error");
+ print_error("cannotunzipfile", "error");
}
echo "<center><form action=\"coursefiles.php\" method=\"get\">\n";
Please sign in to comment.
Something went wrong with that request. Please try again.