Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -47,14 +47,7 @@ class _Theme extends \IPS\cms\Theme
|
||||
'template_user_edited ASC' /* Ensure we get edited versions, not the master version if one exists */
|
||||
)->setKeyField('bit_key') as $template )
|
||||
{
|
||||
try
|
||||
{
|
||||
static::writeTemplate( $template, TRUE );
|
||||
}
|
||||
catch( \RuntimeException $ex )
|
||||
{
|
||||
throw new \RuntimeException( $ex->getMessage() );
|
||||
}
|
||||
static::writeTemplate( $template, TRUE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,7 +126,7 @@ class _Theme extends \IPS\cms\Theme
|
||||
|
||||
if ( isset( $templates[ $key ] ) )
|
||||
{
|
||||
if( \IPS\Login::compareHashes( md5( trim( $html ) ), md5( trim( $templates[ $key ]['template_content'] ) ) ) )
|
||||
if( md5( trim( $html ) ) == md5( trim( $templates[ $key ]['template_content'] ) ) )
|
||||
{
|
||||
/* No change */
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user