diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rightbar.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 01a6aa10..95af30a0 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -96,6 +96,10 @@ $object = new $type(array_shift($object_data)); $object->format(); } + elseif ($type == Random::validate_type($type)) { + $object = new Random(); + $object->f_link = Random::get_type_name($type); + } ?> <li class="<?php echo flip_class(); ?>" > <?php echo $object->f_link; ?> |