Permalink
Browse files

Update inc/admin.php

  • Loading branch information...
1 parent c588fa0 commit 9972cd8da958437f61bfe67d7745ae1ab69bc88c @julien-c julien-c committed Mar 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 inc/admin.php
View
@@ -182,6 +182,7 @@ function scripts()
function get_plugins()
{
global $wp_plugin_directories;
+ if( empty( $wp_plugin_directories ) ) $wp_plugin_directories = array();
foreach( array_keys( $wp_plugin_directories ) as $key )
{
$this->plugins[$key] = cd_apd_get_plugins( $key );

0 comments on commit 9972cd8

Please sign in to comment.