Index: branches/5.3.x/core/units/helpers/page_helper.php =================================================================== diff -u -N -r15946 -r16395 --- branches/5.3.x/core/units/helpers/page_helper.php (.../page_helper.php) (revision 15946) +++ branches/5.3.x/core/units/helpers/page_helper.php (.../page_helper.php) (revision 16395) @@ -1,6 +1,6 @@ Application->GetVar('editing_mode'); // not in a EDITING_MODE constant, while in admin console $revision_clause = $table_name . 'RevisionNumber = ' . $live_revision_number . ' AND ' . $table_name . 'IsDraft = 0'; - if ( $this->Application->GetVar('preview') || $editing_mode == EDITING_MODE_CONTENT ) { - $revision_clause = '(' . $table_name . 'CreatedById = ' . $user_id . ' AND ' . $table_name . 'IsDraft = 1) OR (' . $revision_clause . ')'; + if ( $this->Application->ConfigValue('EnablePageContentRevisionControl') ) { + if ( $this->Application->GetVar('preview') || $editing_mode == EDITING_MODE_CONTENT ) { + $revision_clause = '(' . $table_name . 'CreatedById = ' . $user_id . ' AND ' . $table_name . 'IsDraft = 1) OR (' . $revision_clause . ')'; + } } }