Remove apostrophs from boolean values when editing feeds in batch

This commit is contained in:
André 2012-03-09 10:05:06 +01:00
parent c8226ce4cd
commit a498d18b55
1 changed files with 7 additions and 7 deletions

View File

@ -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":