__FILE__, __LINE__);
// Process all entries
- while ($content = merge_array($content, SQL_FETCHARRAY($result_main))) {
+ while ($row = SQL_FETCHARRAY($result_main)) {
+ // Merge both arrays
+ $content = merge_array($content, $row);
+
// Remove depth to prevent booking errors. This is a bad coding
// practice, thats also why we need to write this project from
// scratch...
}
} else {
// User not found!
- loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')) . '</div>');
+ loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '</div>');
}
} else {
// Output selection form with all confirmed user accounts listed