Skip to content

Commit

Permalink
Removed some code that was incorrectly setting the search template fi…
Browse files Browse the repository at this point in the history
…le default.
  • Loading branch information
jomres committed Aug 14, 2020
1 parent 7e73b57 commit b590774
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libraries/jomres/classes/jomSearch.class.php
Expand Up @@ -39,8 +39,6 @@ public function __construct($calledByModule, $includedInModule = false)

if (!isset($calledByModule) || empty($calledByModule) && isset($_REQUEST['calledByModule'])) {
$this->calledByModule = $calledByModule = jomresGetParam($_REQUEST, 'calledByModule', 'mod_jomsearch_m0');
} else {
$this->calledByModule = $calledByModule = 'mod_jomsearch_m0'; // Technical debt
}

if ( isset($_REQUEST['template_file']) && $_REQUEST['template_file'] != '' ) {
Expand Down

0 comments on commit b590774

Please sign in to comment.