Fix PHP warning

ofaj
jmontoyaa 9 years ago
parent 127d7f92dd
commit bfd41e4803
  1. 7
      search.php

@ -131,6 +131,7 @@ $(document).ready(function() {
}); });
var domainListToString = JSON.stringify(domainList); var domainListToString = JSON.stringify(domainList);
$.ajax({ $.ajax({
contentType: "application/x-www-form-urlencoded", contentType: "application/x-www-form-urlencoded",
type: "GET", type: "GET",
@ -573,9 +574,9 @@ $domaine2 = $userForm->getElementByName('extra_domaine[1]');
$domaine3 = $userForm->getElementByName('extra_domaine[2]'); $domaine3 = $userForm->getElementByName('extra_domaine[2]');
$domainList = array_merge( $domainList = array_merge(
$domaine1->getValue(), is_array($domaine1) ? $domaine1->getValue() : [],
$domaine3->getValue(), is_array($domaine3) ? $domaine3->getValue() : [],
$domaine2->getValue() is_array($domaine2) ? $domaine2->getValue() : []
); );
$themeList = []; $themeList = [];

Loading…
Cancel
Save