I have acces to the database,
this is the sql code i've found:
USE [DotNetNuke]
GO
/****** Object: StoredProcedure [dbo].[UpdateDocument] Script Date: 01/18/2010 15:25:27 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[UpdateDocument]
@ItemId INT,
@Title nvarchar(150),
@URL nvarchar(250),
@UserId INT,
@Category nvarchar(50),
@OwnedByUserID INT,
@SortOrderIndex INT,
@Description nvarchar(255)
AS
UPDATE dbo.Documents
SET Title = @Title,
URL = @URL,
Category = @Category,
OwnedByUserID = @OwnedByUserID,
ModifiedByUserID = @UserId,
ModifiedDate = getdate(),
SortOrderIndex = @SortOrderIndex,
Description = @Description
WHERE ItemId = @ItemId