Undefined variable isLiveMode when using print/merge document action from search results
Notice: Undefined variable: isLiveMode in CRM_Contact_Form_Task_PDFLetterCommon::postProcess() (line 183 of .../web/sites/all/modules/civicrm/CRM/Contact/Form/Task/PDFLetterCommon.php)
Because it's a page where a pdf gets downloaded, you don't see the warning until you visit another page. Also in order to notice any missing functionality you'd have to have the setting at admin - system settings - misc - record generated letters set to "one combined activity plus one attachment", which isn't the default.
Not sure yet what it should be. There's a call to self::isLiveMode() earlier, so maybe that.