Closed (fixed)
Project:
Creative Commons
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2009 at 23:25 UTC
Updated:
2 Sep 2009 at 20:30 UTC
When I encountered the following error, it wasn't very helpful:
The %license-name license is not enabled
The attached patch fixes this by outputting the actual license name. The simplest part was to use @license-name instead; no placeholder theming is necessary because it's a plaintext error message. I noticed that same string was created in three places, so to help avoid future bugs and maintain consistency, I made a single method that is now called in each place.
| Comment | File | Size | Author |
|---|---|---|---|
| fix-license-message.patch | 4.27 KB | turadg |
Comments
Comment #1
turadg commentedCommitted in CVS!