array(bigintval($networkId)), __FUNCTION__, __LINE__);
// Is there an entry?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// Then add all
while ($row = sqlFetchArray($result)) {
// Add it with new index as it is no longer required
), __FUNCTION__, __LINE__);
// Are there records?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// Load all but make new indexes as the old are not required
while ($row = sqlFetchArray($result)) {
// Add it
`network_short_name` ASC', __FUNCTION__, __LINE__);
// Are there entries?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// List all entries
$rows = array();
while ($row = sqlFetchArray($result)) {
), __FUNCTION__, __LINE__);
// Are there entries?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// List all entries
$rows = array();
while ($row = sqlFetchArray($result)) {
`t`.`network_type_handler` ASC', __FUNCTION__, __LINE__);
// Are there entries?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// List all entries
$rows = array();
while ($row = sqlFetchArray($result)) {
`network_array_sort` ASC', __FUNCTION__, __LINE__);
// Are there entries?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// Get all entries
while ($row = sqlFetchArray($result)) {
// Add it to our global array
array(bigintval(getRequestElement('network_id'))), __FUNCTION__, __LINE__);
// Are there entries?
- if (ifSqlHasZeroNums($result)) {
+ if (ifSqlHasZeroNumRows($result)) {
// No, then abort here
displayMessage('{--ADMIN_CONFIG_NETWORK_HANDLER_SET_ALL_404--}');
return;
array(bigintval(getRequestElement('network_id'))), __FUNCTION__, __LINE__);
// Are there entries?
- if (ifSqlHasZeroNums($result)) {
+ if (ifSqlHasZeroNumRows($result)) {
// No, then abort here
displayMessage('{--ADMIN_CONFIG_NETWORK_HANDLER_SET_ALL_404--}');
return;