diff options
| author | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 12:28:01 -0500 |
|---|---|---|
| committer | modela bitweaver <spiderr@bitweaver.org> | 2021-02-01 12:28:01 -0500 |
| commit | 91831d96cbafac79098531f32759baa1434e4863 (patch) | |
| tree | 473220f476944013bff8bd5279d3d27dec620adc /content_history_inc.php | |
| parent | f39b8239a5c9d4b9bc122d522052f60cf9adfe2e (diff) | |
| download | liberty-91831d96cbafac79098531f32759baa1434e4863.tar.gz liberty-91831d96cbafac79098531f32759baa1434e4863.tar.bz2 liberty-91831d96cbafac79098531f32759baa1434e4863.zip | |
remove assignByRef with function returns in compare
Diffstat (limited to 'content_history_inc.php')
| -rw-r--r-- | content_history_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_history_inc.php b/content_history_inc.php index 8690c77..e2cfd19 100644 --- a/content_history_inc.php +++ b/content_history_inc.php @@ -70,8 +70,8 @@ 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->assignByRef( 'diff_from', LibertyContent::parseDataHash( $from_page['data'][0] ) ); - $gBitSmarty->assignByRef( 'diff_to', $gContent->getParsedData() ); + $gBitSmarty->assign( 'diff_from', LibertyContent::parseDataHash( $from_page['data'][0] ) ); + $gBitSmarty->assign( 'diff_to', $gContent->getParsedData() ); $gBitSmarty->assignByRef( 'version_from', $from_version ); } elseif( @BitBase::verifyId( $_REQUEST["rollback"] )) { |
