GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wrapper (supporting numeric as well as hash input parameter) around a new permission...
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
node_methodz
/
function.get_image_link.php
diff --git
a/wwwroot/inc/smarty/node_methodz/function.get_image_link.php
b/wwwroot/inc/smarty/node_methodz/function.get_image_link.php
index ca181f373b8ba98bb8d26deac6cd45aa1d93635c..c22939afa6eb7091c6d90337356f9544f613d860 100644
(file)
--- a/
wwwroot/inc/smarty/node_methodz/function.get_image_link.php
+++ b/
wwwroot/inc/smarty/node_methodz/function.get_image_link.php
@@
-3,7
+3,7
@@
function smarty_function_get_image_link($params,&$smarty) {
global $db;
$id = $params['id'];
- if (!is_numeric($id)) {
return 1
;}
+ if (!is_numeric($id)) {
$id=0
;}
$img = './'.SYSTEM_IMAGES.'/nodes/'.substr($id,0,1)."/".substr($id,1,1)."/$id.gif";
if (file_exists($img)) {
@@
-18,7
+18,6
@@
function smarty_function_get_image_link($params,&$smarty) {
}
echo $imglink;
}
- return 0;
}
?>
This page took
0.137429 seconds
and
4
git commands to generate.