Possible fix for missing ext_notes while displaying extension tasks, TODOs.txt updated
authorRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 19:59:30 +0000 (19:59 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 19:59:30 +0000 (19:59 +0000)
DOCS/TODOs.txt
inc/modules/admin/overview-inc.php

index 5a52272b186097d6fd48e0cdf34de4417536b057..055711d30fb24d0926c2739e69be34de61084b0e 100644 (file)
 ./inc/modules/admin/admin-inc.php:390:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/admin/admin-inc.php:504:         // @TODO Rewrite these both constants
 ./inc/modules/admin/admin-inc.php:530:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
 ./inc/modules/admin/admin-inc.php:390:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/admin/admin-inc.php:504:         // @TODO Rewrite these both constants
 ./inc/modules/admin/admin-inc.php:530:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
-./inc/modules/admin/overview-inc.php:143:                              // @TODO Rewrite this to a filter
-./inc/modules/admin/overview-inc.php:230:                              // @TODO Rewrite this to something with include files
-./inc/modules/admin/overview-inc.php:269:                                              // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:272:                                                      default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:418:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
+./inc/modules/admin/overview-inc.php:144:                              // @TODO Rewrite this to a filter
+./inc/modules/admin/overview-inc.php:154:                                      // @TODO Can this SQL be encapsulated in a function, so all similar queries can be rewritten?
+./inc/modules/admin/overview-inc.php:190:                                              // @TODO Should we init sql_notes here or inside REGISTER_EXTENSION()?
+./inc/modules/admin/overview-inc.php:253:                              // @TODO Rewrite this to something with include files
+./inc/modules/admin/overview-inc.php:291:                                              // @TODO This may also be rewritten to include files
+./inc/modules/admin/overview-inc.php:293:                                                      default: // @TODO Unknown support mode
+./inc/modules/admin/overview-inc.php:444:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
 ./inc/modules/admin.php:257:   // @TODO Rewrite all these constants
 ./inc/modules/admin.php:94:                                    // @TODO Why is this set to 'done'?
 ./inc/modules/admin/what-add_points.php:120:                   // @TODO Rewrite these both constants
 ./inc/modules/admin.php:257:   // @TODO Rewrite all these constants
 ./inc/modules/admin.php:94:                                    // @TODO Why is this set to 'done'?
 ./inc/modules/admin/what-add_points.php:120:                   // @TODO Rewrite these both constants
index 972644fe83607b26873d8aee761b48762dd98c57..5694614ce01d06362ed414c6c318530147495813 100644 (file)
@@ -187,6 +187,9 @@ LIMIT 1",
 
                                        // Update task or extension task?
                                        if ($type == 'EXTENSION') {
 
                                        // Update task or extension task?
                                        if ($type == 'EXTENSION') {
+                                               // @TODO Should we init sql_notes here or inside REGISTER_EXTENSION()?
+                                               EXT_INIT_NOTES();
+
                                                // Load SQL commands for registering
                                                REGISTER_EXTENSION($ext_name, $id, true);
 
                                                // Load SQL commands for registering
                                                REGISTER_EXTENSION($ext_name, $id, true);