Comments (3)
Confirmed present on dev. Then fixed with this patch. Tests fine on dev now.
[18:52 dev-nginx01 dan ~/www] % git diff classes/port-display.php
diff --git a/classes/port-display.php b/classes/port-display.php
index 13d18c6c..11d72143 100644
--- a/classes/port-display.php
+++ b/classes/port-display.php
@@ -938,7 +938,7 @@ class port_display {
$HTML .= ' <span class="tooltip">';
if (empty($port->quarterly_revision)) {
$HTML .= 'Port not present on quarterly';
- if (date("Y-m-d", strtotime($port->date_added)) > FirstDateOfCurrentQuarter()) {
+ if (IsSet($port->date_added) && date("Y-m-d", strtotime($port->date_added)) > FirstDateOfCurrentQuarter()) {
$ToolTipText = 'This is expected as this port was created during this quarter.';
} else {
$ToolTipText = 'This missing version is most likely a FreshPorts error.';
from freshports.
Thanks for the quick fix.
from freshports.
Now fixed on test, stage, and prod.
from freshports.
Related Issues (20)
- Search: … pg_exec(): Query failed: ERROR: invalid byte sequence for encoding "UTF8": 0xe1 0x66 0x69 in /usr/local/www/freshports/www/search.php on line 908 HOT 7
- Some pages show a table of packages for an expired flavor/flavour HOT 80
- sanity tests - cache and paging HOT 4
- DB error while trying to update my watchlist HOT 9
- Commits against non-ports are not shown HOT 11
- Stop mail in the internal FreshPorts jail HOT 3
- www/galene - not displaying COMMENT and pkg-descr correctly HOT 18
- Search results: more ports are counted than are listed HOT 4
- After login to dev, a block of text that began: -- /usr/local/www/freshports/classes/commits.php::FetchLimit HOT 3
- Tables of packages: FreeBSD:15: listings for FreeBSD 15.0-CURRENT HOT 9
- Tables of packages: for 'repo not found' or 'never imported', do not display the fallout icon HOT 9
- riscv64 (not riskv64) HOT 5
- new ports don't get automatically unmarked as new HOT 1
- element path issues - dev/test/stage differ from prod HOT 5
- caching problem for non-ports HOT 16
- Add Codeberg links for non-ports commits? HOT 2
- doc link is wrong for commit.php HOT 3
- Order of icons: cgit, Codeberg, GitHub, GitLab, SVNWeb HOT 2
- Move the refresh icon to the end of the row. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freshports.