mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Correctly limit input of the users location to 100 characters in the UCP and ACP. Closes #32655
Sync reports when using the move all users posts tool in the ACP. Closes #31165 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8831 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d1606c5f78
commit
f1830947c2
3 changed files with 5 additions and 3 deletions
|
@ -111,6 +111,8 @@
|
||||||
<li>[Fix] Display coloured username of last poster in list of subscribed forums (prosilver).</li>
|
<li>[Fix] Display coloured username of last poster in list of subscribed forums (prosilver).</li>
|
||||||
<li>[Fix] Added missing UCP language string <em>NO_AUTH_READ_HOLD_MESSAGE</em>.</li>
|
<li>[Fix] Added missing UCP language string <em>NO_AUTH_READ_HOLD_MESSAGE</em>.</li>
|
||||||
<li>[Fix] Do not jump back to page 1 when hiding member search in memberlist. (#32515 - Patch by paul)</li>
|
<li>[Fix] Do not jump back to page 1 when hiding member search in memberlist. (#32515 - Patch by paul)</li>
|
||||||
|
<li>[Fix] Correctly limit input of the users location to 100 characters in the UCP and ACP. (Bug #32655)</li>
|
||||||
|
<li>[Fix] Sync reports when using the move all users posts tool in the ACP. (Bug #31165)</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -634,7 +634,7 @@ class acp_users
|
||||||
|
|
||||||
if (sizeof($topic_id_ary))
|
if (sizeof($topic_id_ary))
|
||||||
{
|
{
|
||||||
sync('reported', 'topic_id', $topic_id_ary);
|
sync('topic_reported', 'topic_id', $topic_id_ary);
|
||||||
sync('topic', 'topic_id', $topic_id_ary);
|
sync('topic', 'topic_id', $topic_id_ary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1093,7 +1093,7 @@ class acp_users
|
||||||
'website' => array(
|
'website' => array(
|
||||||
array('string', true, 12, 255),
|
array('string', true, 12, 255),
|
||||||
array('match', true, '#^http[s]?://(.*?\.)*?[a-z0-9\-]+\.[a-z]{2,4}#i')),
|
array('match', true, '#^http[s]?://(.*?\.)*?[a-z0-9\-]+\.[a-z]{2,4}#i')),
|
||||||
'location' => array('string', true, 2, 255),
|
'location' => array('string', true, 2, 100),
|
||||||
'occupation' => array('string', true, 2, 500),
|
'occupation' => array('string', true, 2, 500),
|
||||||
'interests' => array('string', true, 2, 500),
|
'interests' => array('string', true, 2, 500),
|
||||||
'bday_day' => array('num', true, 1, 31),
|
'bday_day' => array('num', true, 1, 31),
|
||||||
|
|
|
@ -315,7 +315,7 @@ class ucp_profile
|
||||||
'website' => array(
|
'website' => array(
|
||||||
array('string', true, 12, 255),
|
array('string', true, 12, 255),
|
||||||
array('match', true, '#^http[s]?://(.*?\.)*?[a-z0-9\-]+\.[a-z]{2,4}#i')),
|
array('match', true, '#^http[s]?://(.*?\.)*?[a-z0-9\-]+\.[a-z]{2,4}#i')),
|
||||||
'location' => array('string', true, 2, 255),
|
'location' => array('string', true, 2, 100),
|
||||||
'occupation' => array('string', true, 2, 500),
|
'occupation' => array('string', true, 2, 500),
|
||||||
'interests' => array('string', true, 2, 500),
|
'interests' => array('string', true, 2, 500),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue