Menu

#16 v0.1.4 delete.php fails - wrong variables

closed-fixed
nobody
None
5
2004-06-17
2004-06-16
Steve
No

In the v0.1.4 release, delete.php fails because it's
using the variables for the table names - $FEED_TABLE
and $ITEM_TABLE. These should be $FOF_FEED_TABLE and
$FOF_ITEM_TABLE.

Discussion

  • Steve

    Steve - 2004-06-16

    Logged In: YES
    user_id=1064761

    I just noticed you've made the table names constants, so it
    looks like the 2 sql delete statements should be:
    $result = fof_do_query("delete from " . FOF_FEED_TABLE . "
    where id = $feed");
    $result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
    where feed_id = $feed");

     
  • Steve

    Steve - 2004-06-16

    Logged In: YES
    user_id=1064761

    I just noticed you've made the table names constants, so it
    looks like the 2 sql delete statements should be:
    $result = fof_do_query("delete from " . FOF_FEED_TABLE . "
    where id = $feed");
    $result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
    where feed_id = $feed");

     
  • Anonymous

    Anonymous - 2004-06-16

    Logged In: YES
    user_id=794003

    Thanks. I'll fix in the next version.

     
  • Anonymous

    Anonymous - 2004-06-17

    Logged In: YES
    user_id=794003

    Fixed in 0.1.6

     
  • Anonymous

    Anonymous - 2004-06-17
    • status: open --> closed-fixed
     

Log in to post a comment.