Changeset 4588

Show
Ignore:
Timestamp:
10/21/07 01:51:16 (2 years ago)
Author:
inureyes
Message:

#708

  • 댓글에 댓글의 수정시 내용이 뜨지 않는 오류 수정
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/Needlworks.DBMS.MySQL.php

    r4582 r4588  
    5858            case 'delete': 
    5959            case 'replace': 
     60            default: 
    6061                $count = mysql_affected_rows(); 
     62                mysql_free_result(); 
    6163            } 
    6264        } 
  • trunk/lib/model/blog.comment.php

    r4579 r4588  
    242242            $sql .= ' AND password = \'' . md5($password) . '\''; 
    243243    } 
    244     if ($result = DBQuery::queryAll($sql)) 
     244    if ($result = DBQuery::queryRow($sql)) 
    245245        return $result; 
    246246    return false;