drupal_set_message(t('<em>CKEditor Link</em> has been disabled. <a href="!url">Clean URLs</a> need to be enabled for this module to work properly.',array('!url'=>url('admin/settings/clean-urls'))),'warning');
}
}
/**
* Implementation of hook_perm().
*/
...
...
@@ -30,10 +40,10 @@ function ckeditor_link_autocomplete($string = '') {
$matches=array();
if($string!==''){
$sql=db_rewrite_sql("SELECT n.nid, n.title AS node_title, n.type AS node_type FROM {node} n WHERE n.title LIKE '%%%s%%' ORDER BY n.title, n.type");
$sql=db_rewrite_sql("SELECT n.nid, n.title FROM {node} n WHERE n.title LIKE '%%%s%%' ORDER BY n.title, n.type");