[dev] [Mnemo] Two small fixes

Thierry Thomas thierry at horde.org
Sun Dec 29 14:26:12 PST 2002


Hello,

Two small errors in Mnemo:


--- mnemo/memo.php.orig	Sun Dec 15 15:37:00 2002
+++ mnemo/memo.php	Sun Dec 29 14:20:36 2002
@@ -64,7 +64,7 @@
             $new_category = Horde::getFormData('new_category');
             $memo_category = Mnemo::addCategory($new_category);
             if ($memo_category == 0) {
-                $notification->push(sprintf(_("Unable to create to category: %s"), $new_category), 'horde.warning');
+                $notification->push(sprintf(_("Unable to create the category: %s"), $new_category), 'horde.warning');
             }
         }
 


--- mnemo/notepads.php.orig	Fri Dec 20 20:56:35 2002
+++ mnemo/notepads.php	Sun Dec 29 14:21:36 2002
@@ -112,7 +112,7 @@
     // Make sure we still on at least one notepad
     if (count(Mnemo::listNotepads(true)) == 0) {
         /* If this share doesn't exist then create it */
-        if (!$GLOBALS['menmo_shares']->exists(Auth::getAuth())) {
+        if (!$GLOBALS['mnemo_shares']->exists(Auth::getAuth())) {
             $share = $GLOBALS['mnemo_shares']->newShare(Auth::getAuth());
             $share->setOwner(Auth::getAuth());
             $share->setShareName(_("My Notepad"));


Regards,
-- 
Th. Thomas.


More information about the dev mailing list