Commit d6217df8 authored by Dries's avatar Dries

- Patch #721378 by jpmckinney, cha0s, casey, noahb: critical bug: comment_save() fails silently.

parent 3c3cee28
......@@ -1512,6 +1512,7 @@ function comment_save($comment) {
}
catch (Exception $e) {
$transaction->rollback('comment', $e->getMessage(), array(), WATCHDOG_ERROR);
throw $e;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment