From 87ae76fe8cfabff0f4034b4c1cc7e0de402ada8c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 8 Jun 2005 03:08:10 +0000 Subject: [PATCH] r249: Strip slashes when displaying the select_single edit system --- admin/fields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/fields.php b/admin/fields.php index f12d51a..c98a0bf 100644 --- a/admin/fields.php +++ b/admin/fields.php @@ -254,7 +254,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') break; case 'select_single': - $admin->row_textarea('Selection Values', 'selects', implode("\n", unserialize($field['selects']))); + $admin->row_textarea('Selection Values', 'selects', stripslashes(implode("\n", unserialize($field['selects'])))); $admin->row_yesno('Make the First Option Default', 'usedefault', $field['usedefault']); break; } -- 2.43.5