Problem/Motivation

In case the module is enabled, but the file is not where the libraries API module expects to find it, then libraries_get_path() returns false, which breaks _slim_select_get_path() signature

Steps to reproduce

enable libraries api module, make sure there is not slim select in its expected folders, apply the #slim_select to a multiple select, check the form page.

Proposed resolution

change from
add the result of libraries_get_path('slim-select') into a variable and check the result before returning

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Andras_Szilagyi created an issue. See original summary.

andras_szilagyi’s picture

Status: Active » Needs review

Fix provided

andras_szilagyi’s picture

  • Andras_Szilagyi committed 43c4c738 on 1.x
    Issue #3333227 by Andras_Szilagyi: libraries_get_path() can return bool
    
andras_szilagyi’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.