bad sql left after the mailbox in/out merge

This commit is contained in:
friendica 2012-05-05 17:53:23 -07:00
parent 8ae83201cf
commit 49ccefd6c7
3 changed files with 29 additions and 25 deletions

View File

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php'); require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1332' ); define ( 'FRIENDICA_VERSION', '2.3.1333' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1143 ); define ( 'DB_UPDATE_VERSION', 1143 );

View File

@ -198,7 +198,7 @@ function message_content(&$a) {
$o .= $header; $o .= $header;
$r = q("SELECT count(*) AS `total` FROM `mail` $r = q("SELECT count(*) AS `total` FROM `mail`
WHERE `mail`.`uid` = %d AND `from-url` $eq '%s' GROUP BY `parent-uri` ORDER BY `created` DESC", WHERE `mail`.`uid` = %d GROUP BY `parent-uri` ORDER BY `created` DESC",
intval(local_user()), intval(local_user()),
dbesc($myprofile) dbesc($myprofile)
); );

View File

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2.3.1332\n" "Project-Id-Version: 2.3.1333\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-04 10:00-0700\n" "POT-Creation-Date: 2012-05-05 10:00-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -55,7 +55,7 @@ msgstr ""
#: ../../mod/profiles.php:365 ../../mod/delegate.php:6 #: ../../mod/profiles.php:365 ../../mod/delegate.php:6
#: ../../mod/suggest.php:28 ../../mod/invite.php:13 ../../mod/invite.php:81 #: ../../mod/suggest.php:28 ../../mod/invite.php:13 ../../mod/invite.php:81
#: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:485 #: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:485
#: ../../include/items.php:3187 ../../index.php:306 #: ../../include/items.php:3192 ../../index.php:306
msgid "Permission denied." msgid "Permission denied."
msgstr "" msgstr ""
@ -157,7 +157,7 @@ msgstr ""
#: ../../addon/twitter/twitter.php:209 ../../addon/twitter/twitter.php:375 #: ../../addon/twitter/twitter.php:209 ../../addon/twitter/twitter.php:375
#: ../../addon/irc/irc.php:55 ../../addon/blogger/blogger.php:102 #: ../../addon/irc/irc.php:55 ../../addon/blogger/blogger.php:102
#: ../../addon/posterous/posterous.php:90 #: ../../addon/posterous/posterous.php:90
#: ../../view/theme/cleanzero/config.php:71 #: ../../view/theme/cleanzero/config.php:80
#: ../../view/theme/diabook/config.php:91 #: ../../view/theme/diabook/config.php:91
#: ../../view/theme/quattro/config.php:52 ../../view/theme/dispy/config.php:70 #: ../../view/theme/quattro/config.php:52 ../../view/theme/dispy/config.php:70
#: ../../include/conversation.php:555 #: ../../include/conversation.php:555
@ -214,7 +214,7 @@ msgstr ""
msgid "Edit event" msgid "Edit event"
msgstr "" msgstr ""
#: ../../mod/events.php:300 ../../include/text.php:1053 #: ../../mod/events.php:300 ../../include/text.php:1054
msgid "link to source" msgid "link to source"
msgstr "" msgstr ""
@ -396,7 +396,7 @@ msgstr ""
#: ../../mod/photos.php:528 ../../mod/like.php:127 ../../mod/tagger.php:70 #: ../../mod/photos.php:528 ../../mod/like.php:127 ../../mod/tagger.php:70
#: ../../addon/communityhome/communityhome.php:163 #: ../../addon/communityhome/communityhome.php:163
#: ../../view/theme/diabook/theme.php:408 ../../include/text.php:1304 #: ../../view/theme/diabook/theme.php:408 ../../include/text.php:1305
#: ../../include/diaspora.php:1654 ../../include/conversation.php:53 #: ../../include/diaspora.php:1654 ../../include/conversation.php:53
#: ../../include/conversation.php:126 #: ../../include/conversation.php:126
msgid "photo" msgid "photo"
@ -2807,7 +2807,7 @@ msgstr ""
#: ../../mod/notice.php:15 ../../mod/viewsrc.php:15 ../../mod/admin.php:156 #: ../../mod/notice.php:15 ../../mod/viewsrc.php:15 ../../mod/admin.php:156
#: ../../mod/admin.php:681 ../../mod/admin.php:880 ../../mod/display.php:37 #: ../../mod/admin.php:681 ../../mod/admin.php:880 ../../mod/display.php:37
#: ../../mod/display.php:142 ../../include/items.php:3099 #: ../../mod/display.php:142 ../../include/items.php:3074
msgid "Item not found." msgid "Item not found."
msgstr "" msgstr ""
@ -4639,7 +4639,7 @@ msgid "Latest likes"
msgstr "" msgstr ""
#: ../../addon/communityhome/communityhome.php:155 #: ../../addon/communityhome/communityhome.php:155
#: ../../view/theme/diabook/theme.php:400 ../../include/text.php:1302 #: ../../view/theme/diabook/theme.php:400 ../../include/text.php:1303
#: ../../include/conversation.php:45 ../../include/conversation.php:118 #: ../../include/conversation.php:45 ../../include/conversation.php:118
msgid "event" msgid "event"
msgstr "" msgstr ""
@ -5534,22 +5534,26 @@ msgstr ""
msgid "Post to Posterous by default" msgid "Post to Posterous by default"
msgstr "" msgstr ""
#: ../../view/theme/cleanzero/config.php:73 #: ../../view/theme/cleanzero/config.php:82
#: ../../view/theme/diabook/config.php:93 #: ../../view/theme/diabook/config.php:93
#: ../../view/theme/quattro/config.php:54 ../../view/theme/dispy/config.php:72 #: ../../view/theme/quattro/config.php:54 ../../view/theme/dispy/config.php:72
msgid "Theme settings" msgid "Theme settings"
msgstr "" msgstr ""
#: ../../view/theme/cleanzero/config.php:74 #: ../../view/theme/cleanzero/config.php:83
msgid "Set resize level for images in posts and comments (width and height)" msgid "Set resize level for images in posts and comments (width and height)"
msgstr "" msgstr ""
#: ../../view/theme/cleanzero/config.php:75 #: ../../view/theme/cleanzero/config.php:84
#: ../../view/theme/diabook/config.php:94 ../../view/theme/dispy/config.php:73 #: ../../view/theme/diabook/config.php:94 ../../view/theme/dispy/config.php:73
msgid "Set font-size for posts and comments" msgid "Set font-size for posts and comments"
msgstr "" msgstr ""
#: ../../view/theme/cleanzero/config.php:76 #: ../../view/theme/cleanzero/config.php:85
msgid "Set theme width"
msgstr ""
#: ../../view/theme/cleanzero/config.php:86
#: ../../view/theme/quattro/config.php:56 #: ../../view/theme/quattro/config.php:56
msgid "Color scheme" msgid "Color scheme"
msgstr "" msgstr ""
@ -6165,47 +6169,47 @@ msgstr ""
msgid "bytes" msgid "bytes"
msgstr "" msgstr ""
#: ../../include/text.php:933 ../../include/text.php:948 #: ../../include/text.php:934 ../../include/text.php:949
msgid "remove" msgid "remove"
msgstr "" msgstr ""
#: ../../include/text.php:933 ../../include/text.php:948 #: ../../include/text.php:934 ../../include/text.php:949
msgid "[remove]" msgid "[remove]"
msgstr "" msgstr ""
#: ../../include/text.php:936 #: ../../include/text.php:937
msgid "Categories:" msgid "Categories:"
msgstr "" msgstr ""
#: ../../include/text.php:951 #: ../../include/text.php:952
msgid "Filed under:" msgid "Filed under:"
msgstr "" msgstr ""
#: ../../include/text.php:967 ../../include/text.php:979 #: ../../include/text.php:968 ../../include/text.php:980
msgid "Click to open/close" msgid "Click to open/close"
msgstr "" msgstr ""
#: ../../include/text.php:1084 #: ../../include/text.php:1085
msgid "default" msgid "default"
msgstr "" msgstr ""
#: ../../include/text.php:1096 #: ../../include/text.php:1097
msgid "Select an alternate language" msgid "Select an alternate language"
msgstr "" msgstr ""
#: ../../include/text.php:1306 #: ../../include/text.php:1307
msgid "activity" msgid "activity"
msgstr "" msgstr ""
#: ../../include/text.php:1308 #: ../../include/text.php:1309
msgid "comment" msgid "comment"
msgstr "" msgstr ""
#: ../../include/text.php:1309 #: ../../include/text.php:1310
msgid "post" msgid "post"
msgstr "" msgstr ""
#: ../../include/text.php:1464 #: ../../include/text.php:1465
msgid "Item filed" msgid "Item filed"
msgstr "" msgstr ""