From: <be...@us...> - 2013-01-28 06:03:00
|
Revision: 10939 http://sourceforge.net/p/xoops/svn/10939 Author: beckmi Date: 2013-01-28 06:02:56 +0000 (Mon, 28 Jan 2013) Log Message: ----------- fix for creating new fields in the table profile_profile (black_beard) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.6/htdocs/class/textsanitizer/image/config.php XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/class/field.php XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/docs/changelog.txt XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/xoops_version.php Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/class/textsanitizer/image/config.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/class/textsanitizer/image/config.php 2013-01-28 00:24:47 UTC (rev 10938) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/class/textsanitizer/image/config.php 2013-01-28 06:02:56 UTC (rev 10939) @@ -20,7 +20,7 @@ defined('XOOPS_ROOT_PATH') or die('Restricted access'); return $config = array( - // Click to open an image in a new window in full size using CaricFoto + // Click to open an image in a new window in full size using CaricaFoto 'clickable' => 1, // Resize the image down to max_width set below 'resize' => 1, Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/class/field.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/class/field.php 2013-01-28 00:24:47 UTC (rev 10938) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/class/field.php 2013-01-28 06:02:56 UTC (rev 10939) @@ -510,7 +510,7 @@ $obj->setVar('field_valuetype', XOBJ_DTYPE_TXTBOX); } - if ((!in_array($obj->getVar('field_name'), $this->getUserVars())) && (!isset($_REQUEST['field_required']))) { + if ((!in_array($obj->getVar('field_name'), $this->getUserVars())) && (isset($_REQUEST['field_required']))) { if ($obj->isNew()) { //add column to table $changetype = "ADD"; Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/docs/changelog.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/docs/changelog.txt 2013-01-28 00:24:47 UTC (rev 10938) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/docs/changelog.txt 2013-01-28 06:02:56 UTC (rev 10939) @@ -1,6 +1,7 @@ -Version 1.64 RC +Version 1.64 Final ------------------- - updated code to make it consistent with other modules (mamba) +- create new fields in the table profile_profile (black_beard) Version 1.63 RC ------------------- Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/xoops_version.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/xoops_version.php 2013-01-28 00:24:47 UTC (rev 10938) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/profile/xoops_version.php 2013-01-28 06:02:56 UTC (rev 10939) @@ -57,7 +57,7 @@ // Admin things $modversion['hasAdmin'] = 1; -$modversion['adminindex'] = "admin/user.php"; +$modversion['adminindex'] = "admin/index.php"; $modversion['adminmenu'] = "admin/menu.php"; // Scripts to run upon installation or update |