Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible typo in latest code? #2361

Closed
2 tasks done
urthecast-ayeung opened this issue Jul 30, 2016 · 2 comments
Closed
2 tasks done

Possible typo in latest code? #2361

urthecast-ayeung opened this issue Jul 30, 2016 · 2 comments

Comments

@urthecast-ayeung
Copy link

urthecast-ayeung commented Jul 30, 2016

Expected Behavior (or desired behavior if a feature request)

Asset details should appear.


Actual Behavior

[Sat Jul 30 16:17:33.416844 2016] [:error] [pid 19479] [client 10.0.150.24:50555] PHP Parse error: syntax error, unexpected ''): ?>' (T_CONSTANT_ENCAPSED_STRING) in /var/www/html/snipeit/storage/framework/views/d01504e9d46044fae88019f80f1a9dde4862a43f.php on line 281, referer: http:https://snipe-it/hardware

Line 279 has this:
created_at!='''): ?>

Changing the triple quote to just two resolves the error, but not sure if that is a typo, I'm not a PHP expert!


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running
    Version v3.0-79-gfcb1d6a
  • What OS and web server you're running Snipe-IT on

CentOS Linux release 7.2.1511 (Core)

  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)

install.sh

  • If you're getting an error in your browser, include that error
    above
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
    http:https://snipe-it/hardware
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproduceable on the demo.
  • Include any additional information you can find in app/storage/logs and your webserver's logs.
  • Include what you've done so far in the installation, and if you got any error messages along the way.
  • Indicate whether or not you've manually edited any data directly in the database
@dmeltzer
Copy link
Contributor

This is line 252 of hardware/view.blade.php

@snipe snipe closed this as completed in 1f30bde Jul 31, 2016
@snipe
Copy link
Owner

snipe commented Jul 31, 2016

Stupid PHPStorm tries to be more clever than the developers :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants