mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
-bugfix in function.fetch.php, reference to undefined $smarty
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
17/11/2010
|
||||
- bugfix on {call} with variable function name
|
||||
- bugfix on {block} if name did contain '-'
|
||||
- bugfix in function.fetch.php , referece to undefined $smarty
|
||||
|
||||
16/11/2010
|
||||
- bugfix whitespace in front of "<?php" in smarty_internal_compile_private_block_plugin.php
|
||||
|
@@ -52,7 +52,7 @@ function smarty_function_fetch($params, $template)
|
||||
$host = $server_name = $uri_parts['host'];
|
||||
$timeout = 30;
|
||||
$accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*";
|
||||
$agent = "Smarty Template Engine ".$smarty->_version;
|
||||
$agent = "Smarty Template Engine ".$template->_version;
|
||||
$referer = "";
|
||||
$uri = !empty($uri_parts['path']) ? $uri_parts['path'] : '/';
|
||||
$uri .= !empty($uri_parts['query']) ? '?' . $uri_parts['query'] : '';
|
||||
|
Reference in New Issue
Block a user