mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -997,7 +997,7 @@ function settings_content(App $a)
|
|||
|
||||
require_once('include/acl_selectors.php');
|
||||
|
||||
$profile = dba::selectOne('profile', [], ['is-default' => true, 'uid' => local_user()]);
|
||||
$profile = dba::selectFirst('profile', [], ['is-default' => true, 'uid' => local_user()]);
|
||||
if (!DBM::is_result($profile)) {
|
||||
notice(t('Unable to find your profile. Please contact your admin.') . EOL);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue