Skip to content

Commit

Permalink
! Wrong position of a free_result call. (smf2RC_to_wedge.xml, smf2_to…
Browse files Browse the repository at this point in the history
…_wedge.xml)

Signed-off-by: Nao <nao@wedge>
  • Loading branch information
Nao committed Feb 26, 2014
1 parent d65f1ff commit bf6dbf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smf2RC_to_wedge.xml
Expand Up @@ -285,8 +285,8 @@
FROM {$from_prefix}settings
WHERE variable='attachmentUploadDir';");
list ($smf_attachments_dir) = $db->fetch_row($request);
$db->free_result($request);
}
$db->free_result($request);

if ($avatarUploadDir == $attachmentUploadDir)
$row['attachment_type'] = 0;
Expand Down
2 changes: 1 addition & 1 deletion smf2_to_wedge.xml
Expand Up @@ -285,8 +285,8 @@
FROM {$from_prefix}settings
WHERE variable='attachmentUploadDir';");
list ($smf_attachments_dir) = $db->fetch_row($request);
$db->free_result($request);
}
$db->free_result($request);

if ($avatarUploadDir == $attachmentUploadDir)
$row['attachment_type'] = 0;
Expand Down

0 comments on commit bf6dbf2

Please sign in to comment.