Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

safety

  • Loading branch information...
commit 2e33b8bdb2cc4eb9f927462bb51da579f688e4a1 1 parent 41a37cd
@feri feri authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  controllers/content.php
View
3  controllers/content.php
@@ -470,7 +470,8 @@ public function get_data(array $args)
// set $this->data['packages']
com_meego_packages_controllers_application::get_history($args);
- if ( is_array($this->data['packages'][$package->packagename]['all'])
+ if ( array_key_exists('packages', $this->data)
+ && is_array($this->data['packages'][$package->packagename]['all'])
&& count($this->data['packages'][$package->packagename]['all']))
{
$packagehistory = array();
Please sign in to comment.
Something went wrong with that request. Please try again.