Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Issue forks
colorbox-3183921
Commits
a98c29d2
Commit
a98c29d2
authored
Apr 13, 2020
by
Neslee Canil Pinto
Committed by
Neslee Canil Pinto
Apr 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2494529
by Ishani.addweb, Neslee Canil Pinto: Call to undefined function libraries_load()
parent
e81894fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colorbox.module
colorbox.module
+1
-1
No files found.
colorbox.module
View file @
a98c29d2
...
...
@@ -222,7 +222,7 @@ function _colorbox_doheader() {
// Add and initialise the Colorbox plugin.
$variant
=
variable_get
(
'colorbox_compression_type'
,
'minified'
);
if
(
module_exists
(
'libraries'
))
{
if
(
module_exists
(
'libraries'
)
&&
function_exists
(
libraries_load
)
)
{
libraries_load
(
'colorbox'
,
$variant
);
}
drupal_add_js
(
$path
.
'/js/colorbox.js'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment