Last post Jan 17, 2007 08:08 PM by junkyarddog
Jan 17, 2007 07:54 PM|junkyarddog|LINK
To anyone else who's experiencing this problem:
I've noticed recently that when if I rename a photo (in Admin/Photos.aspx?AlbumID=xx) by deleting the entire caption and then clicking on save I get the follwing error:
Procedure or Function 'EditPhoto' expects parameter '@Caption' which was not supplied.
I understand why the error occurs but is there any way of solving this? I was thinking about sending an empty string instead ("") but I'm not sure where I would put such an if statement.
Has anyone else experienced this glitch? Or can you replicate it if you've try removing a caption?
Jan 17, 2007 08:08 PM|junkyarddog|LINK
It seems that I can work on a problem for 2 days and then as soon as I make a post, I solve it! I should start posting all my questions, it'll help me solve them quicker!
Anyway, the solution was simple.
I changed (in admin/Photos.aspx):