[+] Avoid newWindow ever checked

isset(...) return 1, 
but pSQL((int)Tools::getValue('newWindow')) return 0 or 1