used dbm::is_result() instead of count()

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2016-12-20 21:39:06 +01:00
parent 536f078ed4
commit 9814414b6a
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
2 changed files with 3 additions and 1 deletions

View file

@ -102,6 +102,8 @@ function lostpass_content(App &$a) {
dbesc($new_password_encoded),
intval($uid)
);
/// @TODO Is dbm::is_result() okay here?
if ($r) {
$tpl = get_markup_template('pwdreset.tpl');
$o .= replace_macros($tpl,array(