Skip to content

Commit

Permalink
Changed published equipment to be viewed on the front end only.
Browse files Browse the repository at this point in the history
Backend can view all equipment now.
Fixed equipment showing up in the front end during ticket creation even when it is turned off in the settings
  • Loading branch information
alex committed Jan 29, 2014
1 parent b55569e commit 78b6ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/class.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function isKnowledgebaseEnabled() {

function isEquipmentEnabled() {
require_once(INCLUDE_DIR.'class.equipment.php');
return ($this->get('enable_equipment') && Equipment::countPublishedEquipment());
return ($this->get('enable_equipment'));
}

function isEquipmentEnabledFrontEnd() {
Expand Down

0 comments on commit 78b6ec9

Please sign in to comment.