Skip to content

Commit

Permalink
Merge pull request #73 from DNNCommunity/develop
Browse files Browse the repository at this point in the history
Merged `develop` into `master` to release `v4.1.3`
  • Loading branch information
valadas authored Jun 21, 2024
2 parents 79a4198 + 50a0666 commit bf93f82
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -8,6 +8,6 @@
// </auto-generated>
//------------------------------------------------------------------------------

[assembly: System.Reflection.AssemblyVersion("04.01.02.00")]
[assembly: System.Reflection.AssemblyVersion("04.01.03.00")]


2 changes: 1 addition & 1 deletion DotNetNuke.Modules.Repository.csproj
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@
<WarningLevel>2</WarningLevel>
<NoWarn>
</NoWarn>
<DebugType>none</DebugType>
<DebugType>pdbonly</DebugType>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
2 changes: 1 addition & 1 deletion DotNetNuke_DotNetNuke.Repository.dnn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DotNetNuke.Repository" type="Module" version="04.01.02">
<package name="DotNetNuke.Repository" type="Module" version="04.01.03">
<friendlyName>Repository</friendlyName>
<description>A file/object repository module that includes skinning and community features like comments and user ratings.</description>
<iconFile>icon_repository_32px.gif</iconFile>
12 changes: 10 additions & 2 deletions Settings.ascx.cs
Original file line number Diff line number Diff line change
@@ -1417,8 +1417,16 @@ private void lbAddAttribute_Click(object sender, System.EventArgs e)
{
RepositoryAttributesController attributes = new RepositoryAttributesController();
RepositoryAttributesInfo attribute = null;
int _key = int.Parse(ViewState["_key"].ToString());
int _index = int.Parse(ViewState["_index"].ToString());
int _key = Null.NullInteger;
if (ViewState["_key"] != null)
{
_key = int.TryParse(ViewState["_key"].ToString(), out _key) ? _key : Null.NullInteger;
}
int _index = Null.NullInteger;
if (ViewState["_index"] != null)
{
_index = int.TryParse(ViewState["_index"].ToString(), out _index) ? _index : Null.NullInteger;
}

if (lbAddAttribute.Text == Localization.GetString("SaveButton", LocalResourceFile))
{

0 comments on commit bf93f82

Please sign in to comment.