fixed undefined $error in error message
This commit is contained in:
+1
-1
@@ -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';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user