}
function batchEditSave() {
- return editsaveops(true);
+ return $this->editsaveops(true);
}
function editSave() {
- return editsaveops(false);
+ return $this->editsaveops(false);
}
function editsaveops($batch) {
$cache_images_qpart = "";
}
- if ($method == "editSave") {
+ if (!$batch) {
$result = db_query($this->link, "UPDATE ttrss_feeds SET
$category_qpart
update_method = '$update_method'
WHERE id = '$feed_id' AND owner_uid = " . $_SESSION["uid"]);
- } else if ($batch) {
+ } else {
$feed_data = array();
foreach (array_keys($_POST) as $k) {