From be828dcdcbef999ba8565eed09e084c2e76ca7fe Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 4 Feb 2006 18:49:19 +0000 Subject: [PATCH] New record!! 2 lines, 3 typos!! :-P Also, I've noticed that the file has DOS linefeeds! Please avoid them! --- admin/utfdbmigrate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/utfdbmigrate.php b/admin/utfdbmigrate.php index 0743be5d748..76313ccb958 100755 --- a/admin/utfdbmigrate.php +++ b/admin/utfdbmigrate.php @@ -53,12 +53,12 @@ print_string('dbmigratewarning2','admin'); print_simple_box_end(); //put the site in maintenance mode - if touch($filename) { + if (touch($filename)) { $file = fopen($filename, 'w'); fwrite($file, get_string('maintinprogress','admin')); fclose($file); } else { - notify (get_string('maintfileopenerror','admin') + notify (get_string('maintfileopenerror','admin')); } //print second confirmation box echo '
';