'; $repl_group_edit = $find_group_edit . '
'; $c = str_replace($find_group_edit, $repl_group_edit, $c); // Also we need to make sure 'status' was updated in Edit User POST! // Looking at the previous edit_user patch, I didn't add status. I will add status now since the UI has it! // Actually, earlier the backend code didn't update `status`? // Let me just replace the file contents. file_put_contents('index.php', $c); echo "UI Edit Patched\n";