From: André Date: Fri, 9 Mar 2012 09:05:06 +0000 (+0100) Subject: Remove apostrophs from boolean values when editing feeds in batch X-Git-Tag: 1.5.11~32^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a498d18b553e496bcf97d233e7eb8ba09b2254c3;p=tt-rss.git Remove apostrophs from boolean values when editing feeds in batch --- 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":