diff --git a/modules/qr_batch/libs/IssabelQRConfig.class.php b/modules/qr_batch/libs/IssabelQRConfig.class.php index 8017d3f..ef47954 100644 --- a/modules/qr_batch/libs/IssabelQRConfig.class.php +++ b/modules/qr_batch/libs/IssabelQRConfig.class.php @@ -47,7 +47,7 @@ function __construct() echo "$this->rutaDB: $pDB->errMsg
"; } else{ $this->_DB = $pDB; - $sPeticionSQL = 'SELECT data FROM sipsettings WHERE keyword="externip_val"'; + $sPeticionSQL = 'SELECT data FROM sipsettings WHERE keyword="externip_val" UNION SELECT data FROM pjsipsettings WHERE keyword="externip_val"'; $result = $this->_DB->getFirstRowQuery($sPeticionSQL, TRUE, array()); if(count($result)>0) { $this->_allips[$result['data']]=1;