[Freerealty] Bug fix release

Patrick Fleming developer FreeRealty pat at rwcinc.net
Thu May 12 12:15:02 MST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Scott Wang wrote:

> 
> Any ideas?
> 
> //code after the listing has been deleted
> print "Listing #$delete has been removed...";
>   if (isset($images_use) && $images_use == "folders"  )
>  {
>   //Get the image information....
>   $sql = "select id_files, filename from ".$table_prefix."tbl_Files where
> id_files = $delete ";

prop_num = $delete ";
(fix also applies to agentadmin.php)

>   $image_query = mysql_query($sql, $link);
>   while ($image_result = mysql_fetch_array($image_query))
>   {
>   unlink
> ("$install_path/$imageloc/listings/$image_result[id_files]"."_"."$image_resu
> lt[filename]"); 
>   unlink
> ("$install_path/$imageloc/listings/$image_result[id_files]"."_"."thumb"."_".
> "$image_result[filename]"); 
>   }
>  }
> 
>  $query = "DELETE FROM ".$table_prefix."tbl_Files WHERE (prop_num =
> '$delete')";
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCg6oMGzHR7DxVKWIRAqg0AJ9MIG+lMuGhp0dI9+oUBEzbnX444ACfbSa6
8NDsbcT+2bRLNwAp17pkQOU=
=BaWT
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pat.vcf
Type: text/x-vcard
Size: 219 bytes
Desc: not available
Url : http://lists.rwcinc.net/pipermail/freerealty/attachments/20050512/6e6d96f9/pat.vcf


More information about the FreeRealty mailing list