Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -6,9 +6,9 @@
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $ (Original: Mark)
|
||||
* @since -
|
||||
* $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10914 $
|
||||
* $LastChangedDate: 2013-05-01 17:35:09 -0400 (Wed, 01 May 2013) $
|
||||
* @version v3.4.5
|
||||
* $Revision: 12211 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -49,10 +49,12 @@ class warnings_core
|
||||
require_once( IPS_ROOT_PATH . 'sources/classes/comments/bootstrap.php' );/*noLibHook*/
|
||||
$comments = classes_comments_bootstrap::controller( $warning['wl_content_id1'] );
|
||||
|
||||
$parent = $comments->remapFromLocal( $comments->fetchParent( $exploded[0] ), 'parent' );
|
||||
$parent = $comments->fetchParent( $exploded[0] );
|
||||
|
||||
if ( ! empty($parent['parent_id']) )
|
||||
if ( ! is_null($parent) )
|
||||
{
|
||||
$parent = $comments->remapFromLocal( $parent, 'parent' );
|
||||
|
||||
return array( 'url' => ipsRegistry::getClass('output')->buildUrl( "app=core&module=global§ion=comments&fromApp={$warning['wl_content_id1']}&do=findComment&parentId={$exploded[0]}&comment_id={$exploded[1]}" ), 'title' => $parent['parent_title'] );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user