mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-30 19:25:03 -04:00
Fix add feed with MariaDB / MySQL (#6900)
* Fix add feed with MariaDB / MySQL fix https://github.com/FreshRSS/FreshRSS/issues/6897 Regression from https://github.com/FreshRSS/FreshRSS/pull/4487 * Type fix
This commit is contained in:
committed by
GitHub
parent
b552d9f4bc
commit
f77b45656d
@@ -926,7 +926,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
|
||||
}
|
||||
FreshRSS_UserDAO::touch();
|
||||
$feedDAO = FreshRSS_Factory::createFeedDao();
|
||||
return $feedDAO->updateFeed($feed_id, ['name' => $feed_name]) === 1;
|
||||
return $feedDAO->updateFeed($feed_id, ['name' => $feed_name]);
|
||||
}
|
||||
|
||||
public static function moveFeed(int $feed_id, int $cat_id, string $new_cat_name = ''): bool {
|
||||
@@ -949,7 +949,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
|
||||
}
|
||||
|
||||
$feedDAO = FreshRSS_Factory::createFeedDao();
|
||||
return $feedDAO->updateFeed($feed_id, ['category' => $cat_id]) === 1;
|
||||
return $feedDAO->updateFeed($feed_id, ['category' => $cat_id]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user