fixed undefined $error in error message

This commit is contained in:
skodak
2006-04-22 16:02:49 +00:00
parent af38593211
commit fea68f909e
+1 -1
View File
@@ -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';
}
}
?>