From a498d18b553e496bcf97d233e7eb8ba09b2254c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9?= Date: Fri, 9 Mar 2012 10:05:06 +0100 Subject: [PATCH] Remove apostrophs from boolean values when editing feeds in batch --- classes/pref_feeds.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index a091b735..4182c919 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -805,31 +805,31 @@ class Pref_Feeds extends Protected_Handler { break; case "private": - $qpart = "private = '$private'"; + $qpart = "private = $private"; break; case "include_in_digest": - $qpart = "include_in_digest = '$include_in_digest'"; + $qpart = "include_in_digest = $include_in_digest"; break; case "always_display_enclosures": - $qpart = "always_display_enclosures = '$always_display_enclosures'"; + $qpart = "always_display_enclosures = $always_display_enclosures"; break; case "mark_unread_on_update": - $qpart = "mark_unread_on_update = '$mark_unread_on_update'"; + $qpart = "mark_unread_on_update = $mark_unread_on_update"; break; case "update_on_checksum_change": - $qpart = "update_on_checksum_change = '$update_on_checksum_change'"; + $qpart = "update_on_checksum_change = $update_on_checksum_change"; break; case "cache_images": - $qpart = "cache_images = '$cache_images'"; + $qpart = "cache_images = $cache_images"; break; case "rtl_content": - $qpart = "rtl_content = '$rtl_content'"; + $qpart = "rtl_content = $rtl_content"; break; case "update_method": -- 2.39.5