]> git.mjollnir.org Git - moodle.git/commitdiff
fixed undefined $error in error message
authorskodak <skodak>
Sat, 22 Apr 2006 16:02:49 +0000 (16:02 +0000)
committerskodak <skodak>
Sat, 22 Apr 2006 16:02:49 +0000 (16:02 +0000)
blog/edit.php

index 211c539d893b9db9a7f66b72e3e296fd02f32ebf..fc56e38c4dc861a392f3fc40c1c5462b84cef5c8 100755 (executable)
@@ -329,7 +329,7 @@ function do_update($post) {
         }*/
     } else {
 //        get_string('', 'blog') //Daryl Hawes note: localize this line
-        $post->error =  'There was an error updating this post in the database: '. $error;
+        $post->error =  'There was an error updating this post in the database';
     }
 }
 ?>