SMF Development > Fixed or Bogus Bugs

Logic error in Display.template.php

<< < (2/2)

emanuele:

--- Quote from: maestrosite.ru on February 28, 2012, 06:58:07 AM ---1. Have you form with id="quickModForm" in you file ?
--- End quote ---
Yes, it's at line 188


--- Quote from: maestrosite.ru on February 28, 2012, 06:58:07 AM ---2. Have you conditions for display this form? for dispaly start-tag "<form..." and for end-tag "</form>" ?
--- End quote ---
No, not in Curve neither in Core.

maestrosite.ru:

--- Quote from: emanuele on February 28, 2012, 07:50:50 AM ---
--- Quote from: maestrosite.ru on February 28, 2012, 06:58:07 AM ---1. Have you form with id="quickModForm" in you file ?
--- End quote ---
Yes, it's at line 188


--- Quote from: maestrosite.ru on February 28, 2012, 06:58:07 AM ---2. Have you conditions for display this form? for dispaly start-tag "<form..." and for end-tag "</form>" ?
--- End quote ---
No, not in Curve neither in Core.

--- End quote ---

This means that there is a logical error. One part form dispaly without conditions, other parts with conditions, isn't it?

emanuele:
You said "logic error" I was looking for a condition... :P

BTW this is not a bug because the same form is used for the "quick edit", so it is necessary there on every page load.

maestrosite.ru:

--- Quote from: emanuele on February 29, 2012, 05:12:07 AM ---You said "logic error" I was looking for a condition... :P

BTW this is not a bug because the same form is used for the "quick edit", so it is necessary there on every page load.

--- End quote ---

Small fix (8 lines), and "quick edit" independents of any form

maestrosite.ru:
Now "quick edit" fix can be load as mod http://custom.simplemachines.org/mods/index.php?mod=3374

Navigation

[0] Message Index

[*] Previous page

Go to full version