diff options
Diffstat (limited to 'linden/indra/newview/llfloaterinspect.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterinspect.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterinspect.cpp b/linden/indra/newview/llfloaterinspect.cpp index 7839729..b94efb9 100644 --- a/linden/indra/newview/llfloaterinspect.cpp +++ b/linden/indra/newview/llfloaterinspect.cpp | |||
@@ -213,6 +213,12 @@ void LLFloaterInspect::refresh() | |||
213 | LLSD row; | 213 | LLSD row; |
214 | char time[MAX_STRING]; | 214 | char time[MAX_STRING]; |
215 | std::string owner_name, creator_name; | 215 | std::string owner_name, creator_name; |
216 | |||
217 | if (obj->mCreationDate == 0) | ||
218 | { // Don't have valid information from the server, so skip this one | ||
219 | continue; | ||
220 | } | ||
221 | |||
216 | time_t timestamp = (time_t) (obj->mCreationDate/1000000); | 222 | time_t timestamp = (time_t) (obj->mCreationDate/1000000); |
217 | LLStringUtil::copy(time, ctime(×tamp), MAX_STRING); | 223 | LLStringUtil::copy(time, ctime(×tamp), MAX_STRING); |
218 | time[24] = '\0'; | 224 | time[24] = '\0'; |