diff options
author | Craig Meyer <[email protected]> | 2011-07-30 22:31:40 -0400 |
---|---|---|
committer | Craig Meyer <[email protected]> | 2011-07-30 22:31:40 -0400 |
commit | 9949bd154e9d01b50132e387059ef987c6887c8b (patch) | |
tree | 76ae2f40905d2f706ec0461374831b6b8457922d /images/c1.png | |
parent | 9d9faf6dc2e9387a7bfe3040c36bc8bf9b87294e (diff) |
functions.php: Fixed some mild errors.
fetch_file_contents()
using $updated when it was not defined - commented it out
update_rss_feed_real()
was also using $updated, undefined
and had a inconsistent return, added return false;
lookup_user_id($link, $user)
was using $login for the SELECT not $user
format_headline_subtoolbar()
used $search_q before it was assigned to, re-ordered the code
format_article()
The 3rd arg "$feed_id" was never used in the function, it was set in the function
Verified (and modified as needed) function calls in backend.php (5 Usages) and in modules/backend-rpc,php (1 usage)
printTagCloud()
Before ksort($tags) add a check for count($tags) == 0 return
replace depreciated split() calls with explode()
backend.php
replace depreciated split() calls with explode()
modules/backed-rpc.php
replace depreciated split() calls with explode()
in handle_rpc_request(), separate asort() from join(), asort() does not return an array.
This fixes a problem where a new tag is added to an entry, but doesn't show up after clicking on save. User must do a screen refresh.
A PHP error msg was being returned in the JSON response.
.gitignore
Make sure Mac OS X .DS_Store & PHPStorm project files (.idea/) are not included
Diffstat (limited to 'images/c1.png')
0 files changed, 0 insertions, 0 deletions