Make WordPress Core


Ignore:
Timestamp:
12/10/2005 11:22:47 PM (16 years ago)
Author:
ryan
Message:

Make sure fields without defaults are specified when inserting. fixes #1953

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-db.php

    r3270 r3285  
    285285    if ( empty($link_owner) )
    286286        $link_owner = $current_user->id;
    287    
     287
     288    if ( empty($link_notes) )
     289        $link_notes = '';
     290
    288291    if ( $update ) {
    289292        $wpdb->query("UPDATE $wpdb->links SET link_url='$link_url',
Note: See TracChangeset for help on using the changeset viewer.