Vergleich admin/modules/config/profile_fields.php - 1.6.5 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: profile_fields.php 5616 2011-09-20 13:24:59Z Tomm $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 63Zeile 63
				"required" => $db->escape_string($mybb->input['required']),
"editable" => $db->escape_string($mybb->input['editable']),
"hidden" => $db->escape_string($mybb->input['hidden']),

				"required" => $db->escape_string($mybb->input['required']),
"editable" => $db->escape_string($mybb->input['editable']),
"hidden" => $db->escape_string($mybb->input['hidden']),

				"postnum" => $db->escape_string($mybb->input['postnum'])

				"postnum" => intval($mybb->input['postnum'])

			);

$fid = $db->insert_query("profilefields", $new_profile_field);

			);

$fid = $db->insert_query("profilefields", $new_profile_field);

Zeile 191Zeile 191
		
if(!$errors)
{

		
if(!$errors)
{

			$profile_field = array(

			$updated_profile_field = array(

				"name" => $db->escape_string($mybb->input['name']),
"description" => $db->escape_string($mybb->input['description']),
"disporder" => intval($mybb->input['disporder']),

				"name" => $db->escape_string($mybb->input['name']),
"description" => $db->escape_string($mybb->input['description']),
"disporder" => intval($mybb->input['disporder']),

Zeile 204Zeile 204
				"postnum" => intval($mybb->input['postnum'])
);


				"postnum" => intval($mybb->input['postnum'])
);


			$db->update_query("profilefields", $profile_field, "fid = '".intval($mybb->input['fid'])."'");

			$db->update_query("profilefields", $updated_profile_field, "fid = '".intval($mybb->input['fid'])."'");

			
$plugins->run_hooks("admin_config_profile_fields_edit_commit");


			
$plugins->run_hooks("admin_config_profile_fields_edit_commit");