aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 43a6b7287..1f0d2d8ff 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -462,7 +462,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
break;
}
}
- if (!$noCommit) {
+ if (!$noCommit && ($nb_new_articles > 0 || $updated_feeds > 0)) {
if (!$entryDAO->inTransaction()) {
$entryDAO->beginTransaction();
}