Skip to content

Commit

Permalink
Fix detection if a note was found.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Aug 29, 2014
1 parent 39fc848 commit a2a2f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnemo/lib/Driver/Sql.php
Expand Up @@ -108,7 +108,7 @@ public function get($noteId, $passphrase = null)
throw new Mnemo_Exception($e->getMessage());
}

if (!count($row)) {
if (!$row) {
throw new Horde_Exception_NotFound();
}

Expand Down

0 comments on commit a2a2f64

Please sign in to comment.