Commit 0a9f5e6f authored by ueli heuer's avatar ueli heuer 👾
Browse files

fix wrong module definition, define some vars

parent b29146bc
......@@ -59,6 +59,9 @@ function get_userlink($USER) { // {{{
default: $order = 'name asc';
}
$filter_host = ''; $filter_bbcs = '';
$filter_dial = ''; $filter_link = '';
if ( $filter_ ) {
$filter_host = sprintf('and (dh.name regexp \'%s\'
or hl.name regexp \'%s\')',$filter_,$filter_);
......@@ -68,7 +71,7 @@ function get_userlink($USER) { // {{{
or hl.name regexp \'%s\' or dm.name regexp \'%s\')',$filter_,$filter_,$filter_);
$filter_link = sprintf('and (dl.name regexp \'%s\'
or hl.name regexp \'%s\')',$filter_,$filter_);
}
}
$userlink_sql = sprintf(
'( /* Host query */
......
......@@ -127,7 +127,7 @@ class DVG_module {
{
global $CONFIG;
$result = DVG_database::getOne($CONFIG->DBi,sprintf('select dmv.value
$result = DVG_database::getOne($CONFIG->DB,sprintf('select dmv.value
from dvg_module_assign dma,
dvg_module_values dmv,
dvg_module_param dmp
......
......@@ -725,7 +725,7 @@ public function device_edit($bbcs_id,$preset = null) // {{{
$script,$post,
$table->get_table());
} // }}}
public function device_save() // {{{
public function device_save($radius_id = NULL) // {{{
{
global $CONFIG,$USER;;
......
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