mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#426 key check to custom column method
This commit is contained in:
parent
8193bd09e9
commit
8bc474dbef
@ -1270,16 +1270,19 @@ if (!function_exists('passwordgenerate')) {
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
||||
|
||||
$var = '';
|
||||
|
||||
if ($row['type'] == 'I') {
|
||||
$var = isid($api[$row['name']], $row['length']);
|
||||
} else if (names($api[$row['name']], $row['length'])) {
|
||||
$var = names($api[$row['name']], $row['length']);
|
||||
if (isset($api[$row['name']])) {
|
||||
if ($row['type'] == 'I') {
|
||||
$var = isid($api[$row['name']], $row['length']);
|
||||
} else if (names($api[$row['name']], $row['length'])) {
|
||||
$var = names($api[$row['name']], $row['length']);
|
||||
}
|
||||
$query2->execute(array($row['customID'], $id, $var));
|
||||
}
|
||||
$query2->execute(array($row['customID'], $id, $var));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user