Skip to content

Commit

Permalink
fixing where_i_came_from placeholder, was defaulting to 'cmd' for the
Browse files Browse the repository at this point in the history
get, needed to be 'string'.
  • Loading branch information
cheesegrits committed Apr 1, 2015
1 parent 2bd2885 commit ad6c335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_fabrik/helpers/parent.php
Expand Up @@ -794,7 +794,7 @@ public static function replaceWithGlobals($msg)
$msg = str_replace('{$mosConfig_sitename}', $config->get('sitename'), $msg);
$msg = str_replace('{$mosConfig_mailfrom}', $config->get('mailfrom'), $msg);
$msg = str_replace('{$mosConfig_secret}', $config->get('secret'), $msg);
$msg = str_replace('{where_i_came_from}', $app->input->server->get('HTTP_REFERER', ''), $msg);
$msg = str_replace('{where_i_came_from}', $app->input->server->get('HTTP_REFERER', '', 'string'), $msg);

foreach ($_SERVER as $key => $val)
{
Expand Down

0 comments on commit ad6c335

Please sign in to comment.