mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-22 18:45:59 +02:00
Removed warning
This commit is contained in:
parent
54ad27ba27
commit
e7cf00ace5
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class RegistrarsController extends Controller
|
||||||
$registrarWhitelist = $db->select('SELECT addr FROM registrar_whitelist WHERE registrar_id = ?',
|
$registrarWhitelist = $db->select('SELECT addr FROM registrar_whitelist WHERE registrar_id = ?',
|
||||||
[ $registrar['id'] ]);
|
[ $registrar['id'] ]);
|
||||||
// Check if RegistrarOTE is not empty
|
// Check if RegistrarOTE is not empty
|
||||||
if (!empty($registrarOte)) {
|
if (is_array($registrarOte) && !empty($registrarOte)) {
|
||||||
// Split the results into two groups
|
// Split the results into two groups
|
||||||
$firstHalf = array_slice($registrarOte, 0, 5);
|
$firstHalf = array_slice($registrarOte, 0, 5);
|
||||||
$secondHalf = array_slice($registrarOte, 5);
|
$secondHalf = array_slice($registrarOte, 5);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue