Permalink
Browse files

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

  • Loading branch information...
mudrd8mz committed Apr 6, 2012
1 parent cf81547 commit 516878be1ec8696e26668b54ada1335fa0f666b1
Showing with 2 additions and 2 deletions.
  1. +1 −1 files/index.php
  2. +1 −1 lib/editor/htmlarea/coursefiles.php
View
@@ -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\">";
@@ -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";

0 comments on commit 516878b

Please sign in to comment.