|
@@ -462,7 +462,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (!$noCommit) {
|
|
|
|
|
|
|
+ if (!$noCommit && ($nb_new_articles > 0 || $updated_feeds > 0)) {
|
|
|
if (!$entryDAO->inTransaction()) {
|
|
if (!$entryDAO->inTransaction()) {
|
|
|
$entryDAO->beginTransaction();
|
|
$entryDAO->beginTransaction();
|
|
|
}
|
|
}
|