summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoshbrown812018-10-01 21:25:39 (GMT)
committerJoseph Olstad2018-10-01 21:25:39 (GMT)
commita5d4278aab48a141c8af61b733ae300e5b185722 (patch)
tree2584a43bc8278499fe4513c009774cd7bc770c72
parent48248a11c530c1c874cd9136307b2619a1c31205 (diff)
Issue #2999116 by Anghelu, joshbrown81: Finds no library after update
-rw-r--r--libraries.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.module b/libraries.module
index 63b5d1a..3dc6c14 100644
--- a/libraries.module
+++ b/libraries.module
@@ -103,7 +103,7 @@ function libraries_get_libraries() {
// $config and $profile should never be empty in a proper Drupal setup.
// However, we should never search into the root filesystem under any
// circumstances, so just bail out in that case.
- if (!$profile || !$config) {
+ if (!$profile && !$config) {
return array();
}