------------------------------------------------------------
revno: 1013
committer: bassel <[email protected]>
branch nick: aikiframework
timestamp: Mon 2012-01-09 15:48:54 +0200
message:
  fixed bug 900996 Widgets break if widget have url that start with admin
modified:
  assets/apps/admin/urls_widgets.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'assets/apps/admin/urls_widgets.php'
--- assets/apps/admin/urls_widgets.php	2011-11-08 13:42:45 +0000
+++ assets/apps/admin/urls_widgets.php	2012-01-09 13:48:54 +0000
@@ -43,7 +43,7 @@
 if ( $config['admin_widgets_display'] )
     $get_urls = $db->get_results("select distinct display_urls from aiki_widgets where  display_urls != '' order by BINARY display_urls");
 else
-    $get_urls = $db->get_results("select distinct display_urls from aiki_widgets where display_urls NOT REGEXP 'admin' and display_urls != '' order by BINARY display_urls");
+    $get_urls = $db->get_results("select distinct display_urls from aiki_widgets where app_id !=1 and display_urls != '' order by BINARY display_urls");
 
 $used = array();
 $used_url = array();

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to