display errors properly on directory creation in the browser. Sponsored by Koumbit, bug #9203

This commit is contained in:
Antoine Beaupré 2007-12-20 05:44:43 +00:00
parent dcd3687701
commit 9878416c22
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ $R=$bro->convertabsolute($R,1);
if ($formu) { if ($formu) {
switch ($formu) { switch ($formu) {
case 1: // Créer le répertoire $R.$nomfich case 1: // Créer le répertoire $R.$nomfich
if ($bro->CreateDir($R,$nomfich)) { if (!$bro->CreateDir($R,$nomfich)) {
print $err->errstr(); print $err->errstr();
} }
$p=$bro->GetPrefs(); $p=$bro->GetPrefs();