From fbab16a7e2544946bbadf590f97997f654f54dc4 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 20 Apr 2006 14:04:51 +0000 Subject: [PATCH] Fixed some error strings bug 2618 --- user/edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user/edit.php b/user/edit.php index a3c8beddda..a02c55f88e 100644 --- a/user/edit.php +++ b/user/edit.php @@ -48,11 +48,11 @@ } if (isguest()) { - error("The guest user cannot edit their profile."); + print_error('guestnoeditprofile'); } if (isguest($user->id)) { - error("Sorry, the guest user cannot be edited."); + print_error('guestnoeditprofileother'); } @@ -72,7 +72,7 @@ if ($usernew = data_submitted()) { if (($USER->id <> $usernew->id) && !isadmin()) { - error("You can only edit your own information"); + print_error('onlyeditown'); } if (isset($USER->username)) { -- 2.39.5