diff options
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r-- | templates/rightbar.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 95af30a0..c64d54c3 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -96,8 +96,7 @@ $object = new $type(array_shift($object_data)); $object->format(); } - elseif ($type == Random::validate_type($type)) { - $object = new Random(); + if ($type == 'random') { $object->f_link = Random::get_type_name($type); } ?> |