Skip to content

Commit

Permalink
Make print great again!
Browse files Browse the repository at this point in the history
  • Loading branch information
myovchev committed Jul 18, 2018
1 parent bb7f871 commit 4264dc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion print.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@

define('e_IFRAME', true);

$source = e107::getParser()->filter($qs[0],'wds');
$source = preg_replace('/[^\w\d_\:]/',"", $qs[0]);
$parms = varset($qs[1],'');
unset($qs);

if(strpos($source,'plugin:') !== FALSE)
{
$plugin = substr($source,7);

if(file_exists(e_PLUGIN.$plugin."/e_emailprint.php"))
{
include_once(e_PLUGIN.$plugin."/e_emailprint.php");
Expand Down

0 comments on commit 4264dc6

Please sign in to comment.