Skip to content
Snippets Groups Projects
Commit 19129b3d authored by Georg Ehrke's avatar Georg Ehrke
Browse files

use isset() instead of array_key_exists()

parent eea501b8
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ class OC_Installer{
$appdata = OC_OCSClient::getApplication($app);
$download = OC_OCSClient::getApplicationDownload($app, 1);
if (array_key_exists('downloadlink', $download) && trim($download['downloadlink']) !== '') {
if (isset($download['downloadlink']) && trim($download['downloadlink']) !== '') {
$download['downloadlink'] = str_replace(' ', '%20', $download['downloadlink']);
$info = array(
'source' => 'http',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment