projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UpdateDatabase.php
[Pman.Core]
/
UpdateDatabase.php
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
7b2f633
..
055e817
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-402,6
+402,9
@@
class Pman_Core_UpdateDatabase extends Pman
{
// send the current file part to the browser
$line = trim(fgets($fp, 1024));
+ if (empty($line)) {
+ continue;
+ }
$matches = array();
if (!preg_match('/^ERROR\s+([0-9]+)/', $line, $matches)) {
echo "OK - {$line}\n"; flush();