summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-23 13:06:39 +0300
committerAndrew Dolgov <[email protected]>2017-02-23 13:06:39 +0300
commite6d66fe55ca217aeb0fb54b49ac9e7338d519c96 (patch)
tree508d47a84e2714e3bdf8e1da80d3dac8fdcbbfe2 /update.php
parentb835a528148783a5436b88baba33d1210562ef93 (diff)
fix update.php showing --help option with a single -
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.php b/update.php
index 821d25bce..2601e965c 100755
--- a/update.php
+++ b/update.php
@@ -66,7 +66,7 @@
<div class="floatingLogo"><img src="images/logo_small.png"></div>
<h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1>
- <?php print_error("Please run this script from the command line. Use option \"-help\" to display command help if this error is displayed erroneously."); ?>
+ <?php print_error("Please run this script from the command line. Use option \"--help\" to display command help if this error is displayed erroneously."); ?>
</body></html>
<?php
@@ -423,7 +423,7 @@
$auth_pass = db_escape_string(decrypt_string($line["auth_pass"]));
- db_query("UPDATE ttrss_feeds SET auth_pass_encrypted = false, auth_pass = '$auth_pass'
+ db_query("UPDATE ttrss_feeds SET auth_pass_encrypted = false, auth_pass = '$auth_pass'
WHERE id = " . $line["id"]);
++$total;