Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dont pass omitXXX argument to AJAX call when the variable is not set …

…or false
  • Loading branch information...
commit c51786a8f91c6f58c9fcb33b6012d256e6ea8b62 1 parent 21cf019
@ssp ssp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/class.tx_nkwgok_tree.php
View
2  lib/class.tx_nkwgok_tree.php
@@ -173,7 +173,7 @@ function expandGOK" . $this->objectID . " (id) {
. "'tx_" . NKWGOKExtKey . "[language]': '" . $this->language . "', "
. "'tx_" . NKWGOKExtKey . "[expand][0]': id, "
. "'tx_" . NKWGOKExtKey . "[style]': '" . $this->arguments['style'] . "', "
- . "'tx_" . NKWGOKExtKey . "[omitXXX]': '" . $this->arguments['omitXXX'] . "', "
+ . (($this->arguments['omitXXX']) ? ("'tx_" . NKWGOKExtKey . "[omitXXX]': '" . $this->arguments['omitXXX'] . "', ") : (''))
. "'tx_" . NKWGOKExtKey . "[objectID]': '" . $this->objectID . "'},
function (html) {
plusMinus.text('[-]');
Please sign in to comment.
Something went wrong with that request. Please try again.