Commit dcb2eeca authored by Patrick Schmalstig's avatar Patrick Schmalstig
Browse files

Fixed MANTIS-5577 (5577: main_contact_catalogues using wrong catalogue name...

Fixed MANTIS-5577 (5577: main_contact_catalogues using wrong catalogue name for subject when not specified)
parent 6af0095c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ class Block_main_contact_catalogues

        $subject = array_key_exists('subject', $map) ? $map['subject'] : '';
        if ($subject == '') {
            $subject = get_translated_text($GLOBALS['SITE_DB']->query_select_value('catalogues', 'c_title'));
            $subject = get_translated_text($GLOBALS['SITE_DB']->query_select_value('catalogues', 'c_title', array('c_name' => $catalogue_name)));
        }

        $body_prefix = array_key_exists('body_prefix', $map) ? $map['body_prefix'] : '';