Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -69,7 +69,7 @@ abstract class _ContentMutator
|
||||
}
|
||||
else
|
||||
{
|
||||
$fileAttachments[] = \IPS\Theme::i()->getTemplate( 'editor', 'core', 'global' )->attachedFile( \IPS\Http\Url::baseUrl() . "applications/core/interface/file/attachment.php?id=" . $attachment['attach_id'], $attachment['attach_file'], FALSE, $attachment['attach_ext'], $attachment['attach_id'] );
|
||||
$fileAttachments[] = \IPS\Theme::i()->getTemplate( 'editor', 'core', 'global' )->attachedFile( \IPS\Http\Url::baseUrl() . "applications/core/interface/file/attachment.php?id=" . $attachment['attach_id'] . ( $attachment['attach_security_key'] ? "&key={$attachment['attach_security_key']}" : '' ), $attachment['attach_file'], FALSE, $attachment['attach_ext'], $attachment['attach_id'], $attachment['attach_security_key'] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -99,10 +99,11 @@ abstract class _ItemMutator extends ContentMutator
|
||||
$item->markRead();
|
||||
}
|
||||
|
||||
/* Send notifications */
|
||||
/* Send notifications and dish out points */
|
||||
if ( !$item->hidden() )
|
||||
{
|
||||
$item->sendNotifications();
|
||||
\IPS\Member::loggedIn()->achievementAction( 'core', 'NewContentItem', $item );
|
||||
}
|
||||
elseif( $item->hidden() !== -1 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user