Commit 60e38c2e authored by Imanov Nursultam's avatar Imanov Nursultam

fixed "global constant is undefined"

parent f12f3f89
...@@ -63,7 +63,7 @@ class AddJQueryViewHelper extends AbstractTagBasedViewHelper { ...@@ -63,7 +63,7 @@ class AddJQueryViewHelper extends AbstractTagBasedViewHelper {
require_once(ExtensionManagementUtility::extPath('t3jquery').'class.tx_t3jquery.php'); require_once(ExtensionManagementUtility::extPath('t3jquery').'class.tx_t3jquery.php');
} }
// if t3jquery is loaded and the custom Library had been created // if t3jquery is loaded and the custom Library had been created
if (T3JQUERY === TRUE) { if ('T3JQUERY' === TRUE) {
\tx_t3jquery::addJqJS(); \tx_t3jquery::addJqJS();
} else { } else {
...@@ -81,4 +81,4 @@ class AddJQueryViewHelper extends AbstractTagBasedViewHelper { ...@@ -81,4 +81,4 @@ class AddJQueryViewHelper extends AbstractTagBasedViewHelper {
} }
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment