Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -23,6 +23,11 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
*/
|
||||
class _Records
|
||||
{
|
||||
/**
|
||||
* @brief Flag to indicate we don't want to be listed as a selectable area when configuring buttons
|
||||
*/
|
||||
public static $buttonLocation = FALSE;
|
||||
|
||||
/**
|
||||
* Can we use HTML in this editor?
|
||||
*
|
||||
@@ -70,7 +75,7 @@ class _Records
|
||||
|
||||
try
|
||||
{
|
||||
$recordClass = '\IPS\cms\Records' . str_replace( '-review', '', $id3 );
|
||||
$recordClass = '\IPS\cms\Records' . $id3;
|
||||
|
||||
return $recordClass::load( $id1 )->canView( $member );
|
||||
}
|
||||
@@ -95,7 +100,7 @@ class _Records
|
||||
{
|
||||
if ( $id3 )
|
||||
{
|
||||
$recordClass = '\IPS\cms\Records' . str_replace( '-review', '', $id3 );
|
||||
$recordClass = '\IPS\cms\Records' . $id3;
|
||||
$return = $recordClass::load( $id1 );
|
||||
$return->url(); // Need to check that won't throw an exception later, which might happen if the database no longer has a page
|
||||
return $return;
|
||||
|
||||
Reference in new issue
Block a user