Version 5.0.0 release
This commit is contained in:
1 parent
90e8c7e903
commit
a3a4a9ccbd
651 files changed
+7275
-9481
No files matched your search
@@ -3021,12 +3021,12 @@ class Controller extends CoverPhotoController
|
||||
try
|
||||
{
|
||||
$comment->clearCaches();
|
||||
$comment = $comment::load( $comment->$idField );
|
||||
$comment = $commentClass::constructFromData( Db::i()->select( '*', $commentClass::$databaseTable, [ $commentClass::$databasePrefix . $idField . '=?', $comment->$idField ], flags: Db::SELECT_FROM_WRITE_SERVER )->first() );
|
||||
|
||||
Output::i()->output = $comment->html();
|
||||
return;
|
||||
}
|
||||
catch( OutOfRangeException $e )
|
||||
catch( OutOfRangeException | UnderflowException $e )
|
||||
{
|
||||
/* Something went wrong so redirect */
|
||||
Output::i()->redirect( $comment->url() );
|
||||
|
||||
Reference in new issue
Block a user