Relationship Graph View Issue Dependency Graph
related to child of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0015479phpList 3 plugins[All Projects] Generalpublic06-02-19 11:35
Reporteradrian15 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0015479: Rss plugin initialise page broken patch
DescriptionThis patch enables initialise page and it also fixes initialise function code so that table prefix is taken into account.
Additional InformationThis is based on svn revision 1703.
TagsNo tags attached.

Activities

17-05-10 15:06

 

F10_rss_manager_fix_1.patch (1,450 bytes)
diff -urN saidi_F09_rss_manager_activado//lists/admin/plugins/rssmanager/initiliase.php saidi_F10_rss_manager_fix_1//lists/admin/plugins/rssmanager/initiliase.php
--- saidi_F09_rss_manager_activado//lists/admin/plugins/rssmanager/initiliase.php	1970-01-01 01:00:00.000000000 +0100
+++ saidi_F10_rss_manager_fix_1//lists/admin/plugins/rssmanager/initiliase.php	2010-05-16 05:14:39.000000000 +0200
@@ -0,0 +1,14 @@
+<?
+
+$plugin = $GLOBALS["plugins"]['rssmanager'];
+if (!is_object($plugin)) {
+  print $GLOBALS['I18N']->get('Error initialising rss manager');
+  return;
+}
+
+print $GLOBALS['I18N']->get('Initialising rss Manager').'<br/>';
+$plugin->initialise();
+
+print $GLOBALS['I18N']->get('OK').'<br/>';
+
+# TODO: IMPLEMENT menu function - print $plugin->menu();
diff -urN saidi_F09_rss_manager_activado//lists/admin/plugins/rssmanager.php saidi_F10_rss_manager_fix_1//lists/admin/plugins/rssmanager.php
--- saidi_F09_rss_manager_activado//lists/admin/plugins/rssmanager.php	2010-05-16 05:09:54.000000000 +0200
+++ saidi_F10_rss_manager_fix_1//lists/admin/plugins/rssmanager.php	2010-05-16 05:14:39.000000000 +0200
@@ -74,8 +74,10 @@
 
   function initialise() {
     foreach ($this->DBstruct as $table => $structure) {
-      print $table . '<br/>';
-      Sql_Create_Table($table, $structure);
+
+      print $GLOBALS["table_prefix"] . $table . '<br/>';
+      Sql_Create_Table($GLOBALS["table_prefix"].$table, $structure);
+
     }
   }
 

Issue History

Date Modified Username Field Change
17-05-10 15:06 adrian15 New Issue
17-05-10 15:06 adrian15 File Added: F10_rss_manager_fix_1.patch
27-05-10 19:04 h2b2 Relationship added child of 0015498
12-05-11 00:35 michiel Target Version => plugin Development
05-06-13 16:29 michiel Project phpList 3 application => rssmanager
05-06-13 16:29 michiel Category RSS => General
06-02-19 11:35 erion Project rssmanager => phpList 3 plugins