Author: gassla
Date: Wed May 30 16:59:47 2007
New Revision: 471

URL: http://svn.gna.org/viewcvs/phplinker?rev=471&view=rev
Log:
#201

Modified:
    trunk/www/lib/url.php

Modified: trunk/www/lib/url.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/lib/url.php?rev=471&r1=470&r2=471&view=diff
==============================================================================
--- trunk/www/lib/url.php (original)
+++ trunk/www/lib/url.php Wed May 30 16:59:47 2007
@@ -112,7 +112,7 @@
   $url=strtolower(urldecode($url));
   $url=preg_replace('/^http:\/\//','',$url);
   $url=preg_replace('/\/$/','',$url);
-  $res = sql_query('die', __FILE__, __LINE__, __FUNCTION__,"SELECT id, url, 
description, categorized FROM url WHERE url RLIKE '$url' ORDER BY last_update 
DESC LIMIT 1 ");
+  $res = sql_query('die', __FILE__, __LINE__, __FUNCTION__,"SELECT id, url, 
description FROM url WHERE url RLIKE '$url' ORDER BY last_update DESC LIMIT 1 
");
 
   if(mysql_num_rows($res)==1){
     $Url=mysql_fetch_object($res);
@@ -125,4 +125,8 @@
   }else
     return false;
 }
+
+function linker_update_url($id_url){
+
+}
 ?>


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to