|
@@ -237,8 +237,7 @@ |
|
|
block discarded – undo |
|
237
|
237
|
$db = new PDO('sqlite:'. Base::getDbFileName ($i)); |
|
238
|
238
|
$result = $db->prepare("select books.path || '/' || data.name || '.' || lower (format) as fullpath from data join books on data.book = books.id"); |
|
239
|
239
|
$result->execute (); |
|
240
|
|
- while ($post = $result->fetchObject ()) |
|
241
|
|
- { |
|
|
240
|
+ while ($post = $result->fetchObject ()) { |
|
242
|
241
|
if (!is_file (Base::getDbDirectory ($i) . $post->fullpath)) { |
|
243
|
242
|
echo "<p>" . Base::getDbDirectory ($i) . $post->fullpath . "</p>"; |
|
244
|
243
|
} |
Please login to merge, or discard this patch.