Changeset 702 for trunk/forum/includes/acp/acp_words.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/acp/acp_words.php
r400 r702 3 3 * 4 4 * @package acp 5 * @version $Id : acp_words.php 8479 2008-03-29 00:22:48Z naderman$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 24 24 { 25 25 var $u_action; 26 26 27 27 function main($id, $mode) 28 28 { … … 48 48 { 49 49 case 'edit': 50 50 51 $word_id = request_var('id', 0); 51 52 52 53 if (!$word_id) 53 54 { … … 74 75 'S_HIDDEN_FIELDS' => $s_hidden_fields) 75 76 ); 76 77 77 78 return; 78 79 … … 85 86 trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING); 86 87 } 88 87 89 $word_id = request_var('id', 0); 88 90 $word = utf8_normalize_nfc(request_var('word', '', true)); 89 91 $replacement = utf8_normalize_nfc(request_var('replacement', '', true)); 90 91 if ( !$word || !$replacement)92 93 if ($word === '' || $replacement === '') 92 94 { 93 95 trigger_error($user->lang['ENTER_WORD'] . adm_back_link($this->u_action), E_USER_WARNING);
Note:
See TracChangeset
for help on using the changeset viewer.