diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:55:11 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 23:55:11 -0500 |
| commit | 8ad7ef38d30923bb0b8cb5bce381dc4ce87052a4 (patch) | |
| tree | 46fa6c6974b14a478df5b9bbda84646d121dc079 /content_history_inc.php | |
| parent | 693487011df18c515411ac90398b6658e65e5588 (diff) | |
| download | liberty-8ad7ef38d30923bb0b8cb5bce381dc4ce87052a4.tar.gz liberty-8ad7ef38d30923bb0b8cb5bce381dc4ce87052a4.tar.bz2 liberty-8ad7ef38d30923bb0b8cb5bce381dc4ce87052a4.zip | |
use public getContentClassName when need to load a class
Diffstat (limited to 'content_history_inc.php')
| -rw-r--r-- | content_history_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_history_inc.php b/content_history_inc.php index e2cfd19..d5cb3a6 100644 --- a/content_history_inc.php +++ b/content_history_inc.php @@ -70,7 +70,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) { $from_page = $gContent->getHistory( $from_version ); $from_page['data'][0]['no_cache'] = TRUE; $gBitSmarty->assign( 'compare', 'y' ); - $gBitSmarty->assign( 'diff_from', LibertyContent::parseDataHash( $from_page['data'][0] ) ); + $gBitSmarty->assign( 'diff_from', LibertyContent::parseDataHash( $from_page['data'][0], $gContent ) ); $gBitSmarty->assign( 'diff_to', $gContent->getParsedData() ); $gBitSmarty->assignByRef( 'version_from', $from_version ); |
