소스 검색

fix update.php showing --help option with a single -

Andrew Dolgov 7 년 전
부모
커밋
e6d66fe55c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      update.php

+ 2 - 2
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;