#994 New Article Topic broken

v1.7.3
closed-fixed
5
2003-10-31
2003-10-31
No

There is a bug in artlib.php that prevents new topics
without image to be saved. need to change line 191 in
lib/article/artlib.php to:

$query = "insert into
tiki_topics(name,image_name,image_type,image_size,image_data,active,created)

values('$name','$imagename','$imagetype','$imagesize','$imagedata','y',$now)";

(need to add the '' for $imagesize, otherwise mysql
fail when no image provided)

Discussion

  • Dennis Heltzel

    Dennis Heltzel - 2003-10-31

    Logged In: YES
    user_id=714633

    fixed in cvs for 1.8

     
  • Dennis Heltzel

    Dennis Heltzel - 2003-10-31
    • assigned_to: nobody --> dheltzel
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks